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 c6984de commit f44b391Copy full SHA for f44b391
tests/GeoIPTest.php
@@ -29,9 +29,7 @@ public function testGetService()
29
$config = $this->getConfig()['services']['maxmind_database'];
30
unset($config['class']);
31
32
- self::$functions->shouldReceive('app')->with('Torann\GeoIP\Services\MaxMindDatabase', [$config])->andReturn(true);
33
-
34
- $this->assertEquals($geo_ip->getService(), true);
+ $this->assertInstanceOf(\Torann\GeoIP\Contracts\ServiceInterface::class, $geo_ip->getService());
35
}
36
37
/**
0 commit comments