]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/Lock/MemcachedCacheLockDriverTest.php
Config FollowUp
[friendica.git] / tests / src / Core / Lock / MemcachedCacheLockDriverTest.php
index 71311d5baa36d5f6fa53022daf255730c73b82a6..fe490a38cf2faa574eeb54b65860d347c9b6fa79 100644 (file)
@@ -13,6 +13,11 @@ class MemcachedCacheLockDriverTest extends LockTest
 {
        protected function getInstance()
        {
+               $this->configCache
+                       ->shouldReceive('get')
+                       ->with('system', 'memcached_hosts', NULL, false)
+                       ->andReturn([0 => 'localhost, 11211']);
+
                return new CacheLockDriver(CacheDriverFactory::create('memcached'));
        }
 }