Merge pull request #517 from acelaya-forks/feature/too-long-lock

Updated to shlink-ip-geolocation v1.1
This commit is contained in:
Alejandro Celaya 2019-10-25 20:12:54 +02:00 committed by GitHub
commit f4e9d0c8fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@
"shlinkio/shlink-common": "^2.1", "shlinkio/shlink-common": "^2.1",
"shlinkio/shlink-event-dispatcher": "^1.0", "shlinkio/shlink-event-dispatcher": "^1.0",
"shlinkio/shlink-installer": "^2.1", "shlinkio/shlink-installer": "^2.1",
"shlinkio/shlink-ip-geolocation": "^1.0", "shlinkio/shlink-ip-geolocation": "^1.1",
"symfony/console": "^4.3", "symfony/console": "^4.3",
"symfony/filesystem": "^4.3", "symfony/filesystem": "^4.3",
"symfony/lock": "^4.3", "symfony/lock": "^4.3",

View file

@ -18,7 +18,7 @@ use Shlinkio\Shlink\Core\Model\Visitor;
use Shlinkio\Shlink\Core\Service\VisitService; use Shlinkio\Shlink\Core\Service\VisitService;
use Shlinkio\Shlink\IpGeolocation\Exception\WrongIpException; use Shlinkio\Shlink\IpGeolocation\Exception\WrongIpException;
use Shlinkio\Shlink\IpGeolocation\Model\Location; 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\Application;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Tester\CommandTester; use Symfony\Component\Console\Tester\CommandTester;
@ -45,7 +45,7 @@ class LocateVisitsCommandTest extends TestCase
public function setUp(): void public function setUp(): void
{ {
$this->visitService = $this->prophesize(VisitService::class); $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->dbUpdater = $this->prophesize(GeolocationDbUpdaterInterface::class);
$this->locker = $this->prophesize(Lock\Factory::class); $this->locker = $this->prophesize(Lock\Factory::class);