Skip test for XCache when the module is not there
This commit is contained in:
parent
ab788eaa23
commit
86961b6445
|
@ -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…
Reference in New Issue