mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 01:03:13 +08:00
Given more semantic cases in which a visit cannot be located
This commit is contained in:
@@ -89,7 +89,7 @@ class VisitServiceTest extends TestCase
|
||||
});
|
||||
|
||||
$this->visitService->locateUnlocatedVisits(function () {
|
||||
throw new IpCannotBeLocatedException('Cannot be located');
|
||||
throw new IpCannotBeLocatedException(false, 'Cannot be located');
|
||||
});
|
||||
|
||||
$findUnlocatedVisits->shouldHaveBeenCalledOnce();
|
||||
|
||||
Reference in New Issue
Block a user