Skip test for XCache when the module is not there

This commit is contained in:
Bart Visscher 2012-06-05 23:10:51 +02:00
parent ab788eaa23
commit 86961b6445
1 changed files with 4 additions and 0 deletions

View File

@ -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();
}