| 1 | <?php |
||
| 11 | */ |
||
| 12 | class ApcuCacheTest extends CacheTest |
||
| 13 | { |
||
| 14 | protected function setUp() : void |
||
| 15 | { |
||
| 16 | if (ini_get('apc.enable_cli')) { |
||
| 17 | return; |
||
| 18 | } |
||
| 19 | |||
| 20 | $this->markTestSkipped('APC must be enabled for the CLI with the ini setting apc.enable_cli=1'); |
||
| 21 | } |
||
| 22 | |||
| 23 | protected function _getCacheDriver() : CacheProvider |
||
| 24 | { |
||
| 25 | return new ApcuCache(); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function testLifetime() : void |
||
| 29 | { |
||
| 30 | $this->markTestSkipped('The APC cache TTL is not working in a single process/request. See https://bugs.php.net/bug.php?id=58084'); |
||
| 33 |