X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fsrc%2FCore%2FLock%2FMemcachedCacheLockDriverTest.php;h=fe490a38cf2faa574eeb54b65860d347c9b6fa79;hb=eafcf3592db02392770cdc88bed9ddb000cb44f2;hp=71311d5baa36d5f6fa53022daf255730c73b82a6;hpb=91f405bac4ae94bc883ab1dd32df468fc7eae324;p=friendica.git diff --git a/tests/src/Core/Lock/MemcachedCacheLockDriverTest.php b/tests/src/Core/Lock/MemcachedCacheLockDriverTest.php index 71311d5baa..fe490a38cf 100644 --- a/tests/src/Core/Lock/MemcachedCacheLockDriverTest.php +++ b/tests/src/Core/Lock/MemcachedCacheLockDriverTest.php @@ -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')); } }