Total Complexity | 3 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | class IntegrationTest extends ProviderIntegrationTest |
||
21 | { |
||
22 | protected function createProvider(HttpClient $httpClient) |
||
23 | { |
||
24 | return new LocationIQ($httpClient, $this->getApiKey()); |
||
25 | } |
||
26 | |||
27 | protected function getCacheDir() |
||
28 | { |
||
29 | return __DIR__.'/.cached_responses'; |
||
30 | } |
||
31 | |||
32 | protected function getApiKey() |
||
33 | { |
||
34 | return $_SERVER['LOCATIONIQ_API_KEY']; |
||
35 | } |
||
37 |