From 9b767ee9f39cc4acbcb43be7781624ccf15c6f7c Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 25 Oct 2019 20:00:26 +0200 Subject: [PATCH] Updated to shlink-ip-geolocation v1.1 --- composer.json | 2 +- module/CLI/test/Command/Visit/LocateVisitsCommandTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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);