| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class IntegrationTest extends ProviderIntegrationTest |
||
| 23 | { |
||
| 24 | protected $testAddress = false; |
||
| 25 | |||
| 26 | protected $testReverse = false; |
||
| 27 | |||
| 28 | protected function createProvider(HttpClient $httpClient) |
||
| 29 | { |
||
| 30 | return new Ipstack($httpClient, $this->getApiKey()); |
||
| 31 | } |
||
| 32 | |||
| 33 | protected function getCacheDir() |
||
| 34 | { |
||
| 35 | return __DIR__.'/.cached_responses'; |
||
| 36 | } |
||
| 37 | |||
| 38 | protected function getApiKey() |
||
| 39 | { |
||
| 40 | return $_SERVER['IPSTACK_API_KEY']; |
||
| 41 | } |
||
| 43 |