Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
17 | class IntegrationTest extends ProviderIntegrationTest |
||
18 | { |
||
19 | protected $testAddress = true; |
||
20 | |||
21 | protected $testReverse = true; |
||
22 | |||
23 | protected $testIpv4 = false; |
||
24 | |||
25 | protected $testIpv6 = false; |
||
26 | |||
27 | protected $skippedTests = [ |
||
28 | 'testGeocodeQuery' => 'BAN Server supports France only.', |
||
29 | 'testReverseQuery' => 'BAN Server supports France only.', |
||
30 | 'testReverseQueryWithNoResults' => 'Addok returns "debug" information for reverse geocoding on coordinates 0, 0. See https://github.com/addok/addok/issues/505', |
||
31 | ]; |
||
32 | |||
33 | protected function createProvider(HttpClient $httpClient) |
||
34 | { |
||
35 | return Addok::withBANServer($httpClient); |
||
36 | } |
||
37 | |||
38 | protected function getCacheDir() |
||
39 | { |
||
40 | return __DIR__.'/.cached_responses'; |
||
41 | } |
||
42 | |||
43 | protected function getApiKey() |
||
45 | } |
||
46 | } |
||
47 |