Remove dead code that is affecting code coverage

This commit is contained in:
Alejandro Celaya
2025-11-17 12:12:06 +01:00
parent c8537e4f71
commit 0604237b94
15 changed files with 46 additions and 66 deletions

View File

@@ -87,7 +87,7 @@ class MatomoVisitSenderTest extends TestCase
yield 'unlocated orphan visit' => [Visit::forBasePath(Visitor::empty()), null, []];
yield 'located regular visit' => [
Visit::forValidShortUrl(ShortUrl::withLongUrl('https://shlink.io'), Visitor::empty())
->locate(VisitLocation::fromGeolocation(new Location(
->locate(VisitLocation::fromLocation(new Location(
countryCode: 'US',
countryName: 'countryName',
regionName: 'regionName',