aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Memcache/FactoryTest.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/lib/Memcache/FactoryTest.php b/tests/lib/Memcache/FactoryTest.php
index ce6c25cd87f..1944b1bd35d 100644
--- a/tests/lib/Memcache/FactoryTest.php
+++ b/tests/lib/Memcache/FactoryTest.php
@@ -20,9 +20,10 @@
*/
namespace Test\Memcache;
+use OC\Memcache\NullCache;
use OCP\ILogger;
-class Test_Factory_Available_Cache1 {
+class Test_Factory_Available_Cache1 extends NullCache {
public function __construct($prefix = '') {
}
@@ -31,7 +32,7 @@ class Test_Factory_Available_Cache1 {
}
}
-class Test_Factory_Available_Cache2 {
+class Test_Factory_Available_Cache2 extends NullCache {
public function __construct($prefix = '') {
}
@@ -40,7 +41,7 @@ class Test_Factory_Available_Cache2 {
}
}
-class Test_Factory_Unavailable_Cache1 {
+class Test_Factory_Unavailable_Cache1 extends NullCache {
public function __construct($prefix = '') {
}
@@ -49,7 +50,7 @@ class Test_Factory_Unavailable_Cache1 {
}
}
-class Test_Factory_Unavailable_Cache2 {
+class Test_Factory_Unavailable_Cache2 extends NullCache {
public function __construct($prefix = '') {
}