diff --git a/composer.json b/composer.json index 838df503..8e2b1968 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "shlinkio/shlink-common": "^2.1", "shlinkio/shlink-event-dispatcher": "^1.0", "shlinkio/shlink-installer": "^2.1", - "shlinkio/shlink-ip-geolocation": "^1.0", + "shlinkio/shlink-ip-geolocation": "^1.1", "symfony/console": "^4.3", "symfony/filesystem": "^4.3", "symfony/lock": "^4.3", diff --git a/module/CLI/test/Command/Visit/LocateVisitsCommandTest.php b/module/CLI/test/Command/Visit/LocateVisitsCommandTest.php index 083b1bd0..bb3be84c 100644 --- a/module/CLI/test/Command/Visit/LocateVisitsCommandTest.php +++ b/module/CLI/test/Command/Visit/LocateVisitsCommandTest.php @@ -18,7 +18,7 @@ use Shlinkio\Shlink\Core\Model\Visitor; use Shlinkio\Shlink\Core\Service\VisitService; use Shlinkio\Shlink\IpGeolocation\Exception\WrongIpException; use Shlinkio\Shlink\IpGeolocation\Model\Location; -use Shlinkio\Shlink\IpGeolocation\Resolver\IpApiLocationResolver; +use Shlinkio\Shlink\IpGeolocation\Resolver\IpLocationResolverInterface; use Symfony\Component\Console\Application; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Tester\CommandTester; @@ -45,7 +45,7 @@ class LocateVisitsCommandTest extends TestCase public function setUp(): void { $this->visitService = $this->prophesize(VisitService::class); - $this->ipResolver = $this->prophesize(IpApiLocationResolver::class); + $this->ipResolver = $this->prophesize(IpLocationResolverInterface::class); $this->dbUpdater = $this->prophesize(GeolocationDbUpdaterInterface::class); $this->locker = $this->prophesize(Lock\Factory::class);