From: Bart Visscher Date: Tue, 5 Jun 2012 21:10:51 +0000 (+0200) Subject: Skip test for XCache when the module is not there X-Git-Tag: v4.5.0beta1~74^2~424^2~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=86961b64451ac45270274d4de07cd7fc1122521b;p=nextcloud-server.git Skip test for XCache when the module is not there --- diff --git a/tests/lib/cache/xcache.php b/tests/lib/cache/xcache.php index 9ec80ff83c8..a5e954f827c 100644 --- a/tests/lib/cache/xcache.php +++ b/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(); }