Skip to content

Commit 2925a38

Browse files
committed
fix MaxMind provider tests
1 parent f38004d commit 2925a38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Geocoder/Tests/Provider/MaxMindTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ public function testGeocodeWithRealIPv6()
369369
}
370370

371371
$provider = new MaxMind($this->getAdapter(), $_SERVER['MAXMIND_API_KEY']);
372-
$results = $provider->geocode('66.147.244.214');
372+
$results = $provider->geocode('2002:4293:f4d6:0:0:0:0:0');
373373

374374
$this->assertInternalType('array', $results);
375375
$this->assertCount(1, $results);
@@ -402,7 +402,7 @@ public function testGeocodeOmniServiceWithRealIPv6WithSsl()
402402

403403
$provider = new MaxMind($this->getAdapter(), $_SERVER['MAXMIND_API_KEY'],
404404
MaxMind::OMNI_SERVICE, true);
405-
$results = $provider->geocode('::ffff:66.147.244.214');
405+
$results = $provider->geocode('2002:4293:f4d6:0:0:0:0:0');
406406

407407
$this->assertInternalType('array', $results);
408408
$this->assertCount(1, $results);

0 commit comments

Comments
 (0)