summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-06-05 23:10:51 +0200
committerBart Visscher <bartv@thisnet.nl>2012-06-05 23:10:51 +0200
commit86961b64451ac45270274d4de07cd7fc1122521b (patch)
tree29d071940727d80113afced38cf284623a5aff5f /tests
parentab788eaa232db0016b759de0eb3e14647f6581be (diff)
downloadnextcloud-server-86961b64451ac45270274d4de07cd7fc1122521b.tar.gz
nextcloud-server-86961b64451ac45270274d4de07cd7fc1122521b.zip
Skip test for XCache when the module is not there
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/cache/xcache.php4
1 files changed, 4 insertions, 0 deletions
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();
}