X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Fsrc%2FCore%2FLock%2FMemcacheCacheLockDriverTest.php;h=8d32ad527d3415cf3635d87a5355168fc6f0d42c;hb=f4ec7c47b921209b5ff7906bee8aba9db326d0cb;hp=46f29f52e2f9da8a758f2d3a68e9e063bfa390d6;hpb=b912823ea9a0874ff4c6c827fd2eb8a4cf7814b5;p=friendica.git diff --git a/tests/src/Core/Lock/MemcacheCacheLockDriverTest.php b/tests/src/Core/Lock/MemcacheCacheLockDriverTest.php index 46f29f52e2..8d32ad527d 100644 --- a/tests/src/Core/Lock/MemcacheCacheLockDriverTest.php +++ b/tests/src/Core/Lock/MemcacheCacheLockDriverTest.php @@ -3,7 +3,7 @@ namespace Friendica\Test\src\Core\Lock; -use Friendica\Core\Cache\CacheDriverFactory; +use Friendica\Factory\CacheDriverFactory; use Friendica\Core\Lock\CacheLockDriver; /** @@ -13,14 +13,14 @@ class MemcacheCacheLockDriverTest extends LockTest { protected function getInstance() { - $this->configCache + $this->configMock ->shouldReceive('get') - ->with('system', 'memcache_host', NULL) + ->with('system', 'memcache_host') ->andReturn('localhost'); - $this->configCache + $this->configMock ->shouldReceive('get') - ->with('system', 'memcache_port', NULL) + ->with('system', 'memcache_port') ->andReturn(11211); return new CacheLockDriver(CacheDriverFactory::create('memcache'));