1 | <?php |
||
22 | class IntegrationTest extends ProviderIntegrationTest |
||
23 | { |
||
24 | protected $skippedTests = [ |
||
25 | 'testGeocodeIpv4' => 'api.hostip.info does not resolve..', |
||
26 | ]; |
||
27 | protected $testAddress = false; |
||
28 | protected $testReverse = false; |
||
29 | protected $testIpv6 = false; |
||
30 | |||
31 | protected function createProvider(HttpClient $httpClient) |
||
32 | { |
||
33 | return new HostIp($httpClient); |
||
34 | } |
||
35 | |||
36 | protected function getCacheDir() |
||
37 | { |
||
38 | return __DIR__.'/.cached_responses'; |
||
39 | } |
||
40 | |||
41 | protected function getApiKey() |
||
42 | { |
||
43 | return null; |
||
44 | } |
||
45 | } |
||
46 |