summaryrefslogtreecommitdiffstats
path: root/tests/lib/memcache/memcached.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-10 23:30:38 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-19 14:53:59 +0100
commit6202ca33ba76a38b4aea8774018d661f919fa464 (patch)
treea108c8631dad790bc8c3fc175c9c330d18c54ad2 /tests/lib/memcache/memcached.php
parentcb3a598cdb238f9ce74dce80ef9e59cdfc531a4f (diff)
downloadnextcloud-server-6202ca33ba76a38b4aea8774018d661f919fa464.tar.gz
nextcloud-server-6202ca33ba76a38b4aea8774018d661f919fa464.zip
Make remaining files extend the test base
Diffstat (limited to 'tests/lib/memcache/memcached.php')
-rw-r--r--tests/lib/memcache/memcached.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/lib/memcache/memcached.php b/tests/lib/memcache/memcached.php
index fdab32693ff..a94b809a7b5 100644
--- a/tests/lib/memcache/memcached.php
+++ b/tests/lib/memcache/memcached.php
@@ -11,6 +11,8 @@ namespace Test\Memcache;
class Memcached extends Cache {
static public function setUpBeforeClass() {
+ parent::setUpBeforeClass();
+
if (!\OC\Memcache\Memcached::isAvailable()) {
self::markTestSkipped('The memcached extension is not available.');
}
@@ -20,7 +22,8 @@ class Memcached extends Cache {
}
}
- public function setUp() {
+ protected function setUp() {
+ parent::setUp();
$this->instance = new \OC\Memcache\Memcached(uniqid());
}
}