Skip to content

Commit f44b391

Browse files
committed
Fix test
1 parent c6984de commit f44b391

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/GeoIPTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ public function testGetService()
2929
$config = $this->getConfig()['services']['maxmind_database'];
3030
unset($config['class']);
3131

32-
self::$functions->shouldReceive('app')->with('Torann\GeoIP\Services\MaxMindDatabase', [$config])->andReturn(true);
33-
34-
$this->assertEquals($geo_ip->getService(), true);
32+
$this->assertInstanceOf(\Torann\GeoIP\Contracts\ServiceInterface::class, $geo_ip->getService());
3533
}
3634

3735
/**

0 commit comments

Comments
 (0)