summaryrefslogtreecommitdiffstats
path: root/tests/lib/memcache/apcu.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/memcache/apcu.php')
-rw-r--r--tests/lib/memcache/apcu.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/memcache/apcu.php b/tests/lib/memcache/apcu.php
index 7b99e7cd5e0..1b849e1c54d 100644
--- a/tests/lib/memcache/apcu.php
+++ b/tests/lib/memcache/apcu.php
@@ -10,7 +10,9 @@
namespace Test\Memcache;
class APCu extends Cache {
- public function setUp() {
+ protected function setUp() {
+ parent::setUp();
+
if(!\OC\Memcache\APCu::isAvailable()) {
$this->markTestSkipped('The APCu extension is not available.');
return;