Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class IntegrationTest extends ProviderIntegrationTest |
||
21 | { |
||
22 | /** |
||
23 | * @var array with functionName => reason |
||
24 | */ |
||
25 | protected $skippedTests = [ |
||
26 | 'testExceptions' => 'Throwng exceptions is not supported by this provider', |
||
27 | ]; |
||
28 | |||
29 | protected $testAddress = true; |
||
30 | |||
31 | protected $testReverse = true; |
||
32 | |||
33 | protected $testIpv4 = false; |
||
34 | |||
35 | protected $testIpv6 = false; |
||
36 | |||
37 | protected function createProvider(HttpClient $httpClient) |
||
38 | { |
||
39 | return new Mock($httpClient, [51.5033, -0.1276], ['streetNumber' => '10', 'streetName' => 'Downing St', 'locality' => 'London', 'countryCode' => 'UK']); |
||
40 | } |
||
41 | |||
42 | protected function getCacheDir() |
||
43 | { |
||
44 | return __DIR__.'/.cached_responses'; |
||
45 | } |
||
46 | |||
47 | protected function getApiKey() |
||
50 | } |
||
51 | } |
||
52 |