summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-01-17 06:51:04 +0100
committerGitHub <noreply@github.com>2018-01-17 06:51:04 +0100
commitd1420ef4812fc3f3822adf1b1ba91b9a6fb8fa80 (patch)
tree0e02d36a2d264d639265a4bf851a9f87311f2c86 /tests/lib
parent0b464e527489488ed058cc80f6bb93e086eec681 (diff)
parentc5fcfb070991c94631a89480f66c97a1d18721d0 (diff)
downloadnextcloud-server-d1420ef4812fc3f3822adf1b1ba91b9a6fb8fa80.tar.gz
nextcloud-server-d1420ef4812fc3f3822adf1b1ba91b9a6fb8fa80.zip
Merge pull request #7901 from nextcloud/strict_cache_factory
Made the cache factory strict
Diffstat (limited to 'tests/lib')
-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 = '') {
}