| 1 | <?php |
||
| 22 | class IntegrationTest extends ProviderIntegrationTest |
||
| 23 | { |
||
| 24 | protected $testAddress = false; |
||
| 25 | protected $testReverse = false; |
||
| 26 | protected $testIpv6 = false; |
||
| 27 | protected $testHttpProvider = false; |
||
| 28 | |||
| 29 | protected function setUp() |
||
| 30 | { |
||
| 31 | if (!function_exists('geoip_record_by_name')) { |
||
| 32 | $this->markTestSkipped('You have to install GeoIP.'); |
||
| 33 | } |
||
| 34 | } |
||
| 35 | |||
| 36 | protected function createProvider(HttpClient $httpClient) |
||
| 37 | { |
||
| 38 | return new Geoip(); |
||
| 39 | } |
||
| 40 | |||
| 41 | protected function getCacheDir() |
||
| 42 | { |
||
| 43 | return __DIR__.'/.cached_responses'; |
||
| 44 | } |
||
| 45 | |||
| 46 | protected function getApiKey() |
||
| 47 | { |
||
| 48 | return null; |
||
| 49 | } |
||
| 50 | } |
||
| 51 |