diff options
Diffstat (limited to 'tests/lib/cache/apc.php')
-rw-r--r-- | tests/lib/cache/apc.php | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tests/lib/cache/apc.php b/tests/lib/cache/apc.php index 34ea968cd54..0e0edcf58f3 100644 --- a/tests/lib/cache/apc.php +++ b/tests/lib/cache/apc.php @@ -21,16 +21,11 @@ */ class Test_Cache_APC extends Test_Cache { - function skip() { - $this->skipUnless(function_exists('apc_store')); - } - public function setUp() { + if(!function_exists('apc_store')){ + $this->markTestSkipped('The apc extension is not available.'); + return; + } $this->instance=new OC_Cache_APC(); } - - function testTTL() { - // ttl doesn't work correctly in the same request - // see https://bugs.php.net/bug.php?id=58084 - } } |