4 namespace Friendica\Test\src\Core\Cache;
6 use Friendica\Core\Cache\CacheDriverFactory;
9 * @runTestsInSeparateProcesses
10 * @preserveGlobalState disabled
11 * @requires extension redis
13 class RedisCacheDriverTest extends MemoryCacheTest
15 protected function getInstance()
17 $this->mockConfigGet('system', 'redis_host', 'localhost', 1);
18 $this->mockConfigGet('system', 'redis_port', null, 1);
20 $this->cache = CacheDriverFactory::create('redis');
24 public function tearDown()
26 $this->cache->clear(false);