3 namespace Doctrine\Tests\Common\Cache;
5 use Doctrine\Common\Cache\ApcuCache;
8 * @requires extension apcu
10 class ApcuCacheTest extends CacheTest
12 protected function setUp()
14 if (!ini_get('apc.enable_cli')) {
15 $this->markTestSkipped('APC must be enabled for the CLI with the ini setting apc.enable_cli=1');
19 protected function _getCacheDriver()
21 return new ApcuCache();
24 public function testLifetime()
26 $this->markTestSkipped('The APC cache TTL is not working in a single process/request. See https://bugs.php.net/bug.php?id=58084');