diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-10 23:30:38 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-19 14:53:59 +0100 |
commit | 6202ca33ba76a38b4aea8774018d661f919fa464 (patch) | |
tree | a108c8631dad790bc8c3fc175c9c330d18c54ad2 /tests/lib/memcache/xcache.php | |
parent | cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f (diff) | |
download | nextcloud-server-6202ca33ba76a38b4aea8774018d661f919fa464.tar.gz nextcloud-server-6202ca33ba76a38b4aea8774018d661f919fa464.zip |
Make remaining files extend the test base
Diffstat (limited to 'tests/lib/memcache/xcache.php')
-rw-r--r-- | tests/lib/memcache/xcache.php | 4 |
1 files changed, 3 insertions, 1 deletions
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; |