We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ded1cf commit ef814a5Copy full SHA for ef814a5
tests/Services/MaxMindDatabaseTest.php
@@ -39,7 +39,7 @@ public function shouldReturnInvalidLocation()
39
40
try {
41
$location = $service->locate('1.1.1.1');
42
- $this->assertEquals($location->default, 'Poop'); // This should never get a chance
+ $this->assertEquals($location->default, false);
43
}
44
catch (\GeoIp2\Exception\AddressNotFoundException $e) {
45
$this->assertEquals($e->getMessage(), 'The address 1.1.1.1 is not in the database.');
@@ -55,7 +55,7 @@ public function shouldUpdateLocalDatabase()
55
56
$this->assertEquals($service->update(), "Database file ({$config['database_path']}) updated.");
57
58
- unlink($config['database_path']);
+ @unlink($config['database_path']);
59
60
61
protected function getService()
0 commit comments