From 86961b64451ac45270274d4de07cd7fc1122521b Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Tue, 5 Jun 2012 23:10:51 +0200 Subject: [PATCH] Skip test for XCache when the module is not there --- tests/lib/cache/xcache.php | 4 ++++ 1 file changed, 4 insertions(+) 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(); } -- 2.39.5