4 namespace Friendica\Test\src\Core\Cache;
6 use Friendica\Core\Cache\CacheDriverFactory;
9 * @runTestsInSeparateProcesses
10 * @preserveGlobalState disabled
11 * @requires extension memcached
13 class MemcachedCacheDriverTest extends MemoryCacheTest
15 protected function getInstance()
17 $this->mockConfigGet('system', 'memcached_hosts', [0 => 'localhost, 11211']);
19 $this->cache = CacheDriverFactory::create('memcached');
23 public function tearDown()
25 $this->cache->clear(false);