4 namespace Friendica\Test\src\Core\Lock;
6 use Friendica\Core\Cache\CacheDriverFactory;
7 use Friendica\Core\Lock\CacheLockDriver;
10 * @requires extension redis
11 * @runTestsInSeparateProcesses
12 * @preserveGlobalState disabled
14 class RedisCacheLockDriverTest extends LockTest
16 protected function getInstance()
18 $this->mockConfigGet('system', 'redis_host', 'localhost', 1);
19 $this->mockConfigGet('system', 'redis_port', null, 1);
21 return new CacheLockDriver(CacheDriverFactory::create('redis'));