Skip test for XCache when the module is not there

remotes/origin/stable45
Bart Visscher 14 years ago
parent ab788eaa23
commit 86961b6445
  1. 4
      tests/lib/cache/xcache.php

@ -21,6 +21,10 @@
*/
class Test_Cache_XCache extends Test_Cache {
function skip() {
$this->skipUnless(function_exists('xcache_get'));
}
public function setUp(){
$this->instance=new OC_Cache_XCache();
}

Loading…
Cancel
Save