Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class IntegrationTest extends ProviderIntegrationTest |
||
14 | { |
||
15 | protected $skippedTests = [ |
||
16 | 'testReverseQueryWithNoResults' => 'AzureMaps API returns "position":"0.000000,0.000000" for reverse query at 0,0.', |
||
17 | ]; |
||
18 | |||
19 | /** |
||
20 | * @return \Geocoder\Provider\Provider that is used in the tests |
||
21 | */ |
||
22 | protected function createProvider(Http\Client\HttpClient $httpClient) |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @return string the directory where cached responses are stored |
||
29 | */ |
||
30 | protected function getCacheDir() |
||
31 | { |
||
32 | return __DIR__.'/.cached_responses'; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @return string the API key or substring to be removed from cache |
||
37 | */ |
||
38 | protected function getApiKey() |
||
41 | } |
||
42 | } |
||
43 |