1 | <?php |
||
20 | class IntegrationTest extends ProviderIntegrationTest |
||
21 | { |
||
22 | protected $skippedTests = [ |
||
23 | 'testGeocodeQuery' => 'Bing classifies this as Landmarks. They do not have addresses. ', |
||
24 | ]; |
||
25 | |||
26 | protected $testIpv4 = false; |
||
27 | protected $testIpv6 = false; |
||
28 | |||
29 | protected function createProvider(HttpClient $httpClient) |
||
30 | { |
||
31 | return new BingMaps($httpClient, $this->getApiKey()); |
||
32 | } |
||
33 | |||
34 | protected function getCacheDir() |
||
35 | { |
||
36 | return __DIR__.'/.cached_responses'; |
||
37 | } |
||
38 | |||
39 | protected function getApiKey() |
||
40 | { |
||
41 | return $_SERVER['BINGMAPS_API_KEY']; |
||
42 | } |
||
43 | } |
||
44 |