mirror of
https://github.com/shlinkio/shlink.git
synced 2026-08-11 05:24:46 -05:00
Remove dead code that is affecting code coverage
This commit is contained in:
@@ -40,7 +40,7 @@ class VisitIterationRepositoryTest extends DatabaseTestCase
|
||||
$visit = Visit::forValidShortUrl($shortUrl, Visitor::empty());
|
||||
|
||||
if ($i >= 2) {
|
||||
$location = VisitLocation::fromGeolocation(Location::emptyInstance());
|
||||
$location = VisitLocation::fromLocation(Location::empty());
|
||||
$this->getEntityManager()->persist($location);
|
||||
$visit->locate($location);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user