diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-01-17 06:51:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-17 06:51:04 +0100 |
commit | d1420ef4812fc3f3822adf1b1ba91b9a6fb8fa80 (patch) | |
tree | 0e02d36a2d264d639265a4bf851a9f87311f2c86 /tests/lib | |
parent | 0b464e527489488ed058cc80f6bb93e086eec681 (diff) | |
parent | c5fcfb070991c94631a89480f66c97a1d18721d0 (diff) | |
download | nextcloud-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.php | 9 |
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 = '') { } |