Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
626 B

namespace Friendica\Test\src\Core\Lock;
use Friendica\Core\Cache\MemcacheCache;
use Friendica\Core\Config\Configuration;
use Friendica\Core\Lock\CacheLock;
* @requires extension Memcache
class MemcacheCacheLockTest extends LockTest
protected function getInstance()
$configMock = \Mockery::mock(Configuration::class);
->with('system', 'memcache_host')
->with('system', 'memcache_port')
return new CacheLock(new MemcacheCache('localhost', $configMock));