From 6202ca33ba76a38b4aea8774018d661f919fa464 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 10 Nov 2014 23:30:38 +0100 Subject: Make remaining files extend the test base --- tests/lib/memcache/xcache.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/lib/memcache/xcache.php') diff --git a/tests/lib/memcache/xcache.php b/tests/lib/memcache/xcache.php index f59afda3966..b97d5545c6e 100644 --- a/tests/lib/memcache/xcache.php +++ b/tests/lib/memcache/xcache.php @@ -10,7 +10,9 @@ namespace Test\Memcache; class XCache extends Cache { - public function setUp() { + protected function setUp() { + parent::setUp(); + if (!\OC\Memcache\XCache::isAvailable()) { $this->markTestSkipped('The xcache extension is not available.'); return; -- cgit v1.2.3