mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Update VisitsTracker so that its methods return the new Visit instance, if any
This commit is contained in:
@@ -35,7 +35,7 @@ class OrphanVisitsActionTest extends TestCase
|
||||
#[Test]
|
||||
public function requestIsHandled(): void
|
||||
{
|
||||
$visitor = Visitor::emptyInstance();
|
||||
$visitor = Visitor::empty();
|
||||
$visits = [Visit::forInvalidShortUrl($visitor), Visit::forRegularNotFound($visitor)];
|
||||
$this->visitsHelper->expects($this->once())->method('orphanVisits')->with(
|
||||
$this->isInstanceOf(OrphanVisitsParams::class),
|
||||
|
||||
Reference in New Issue
Block a user