| Conditions | 3 |
| Paths | 4 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 12 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public static function setUpBeforeClass() |
||
| 33 | { |
||
| 34 | if (false == function_exists('geoip_open')) { |
||
| 35 | self::markTestSkipped('The maxmind\'s official lib required to run these tests.'); |
||
| 36 | } |
||
| 37 | |||
| 38 | if (false == function_exists('GeoIP_record_by_addr')) { |
||
| 39 | self::markTestSkipped('The maxmind\'s official lib required to run these tests.'); |
||
| 40 | } |
||
| 41 | |||
| 42 | parent::setUpBeforeClass(); |
||
| 43 | } |
||
| 44 | |||
| 60 |