Given more semantic cases in which a visit cannot be located

This commit is contained in:
Alejandro Celaya
2019-02-26 21:39:45 +01:00
parent c70077c525
commit 2d1d7357a3
4 changed files with 49 additions and 6 deletions

View File

@@ -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();