mirror of
https://github.com/friendica/friendica
synced 2025-04-18 05:10:19 +00:00
29 lines
475 B
PHP
29 lines
475 B
PHP
<?php
|
|
|
|
|
|
namespace Friendica\Test\src\Core\Cache;
|
|
|
|
/**
|
|
* @runTestsInSeparateProcesses
|
|
* @preserveGlobalState disabled
|
|
*/
|
|
use Friendica\Core\Cache\CacheDriverFactory;
|
|
|
|
/**
|
|
* @requires extension memcache
|
|
*/
|
|
class MemcacheCacheDriverTest extends MemoryCacheTest
|
|
{
|
|
protected function getInstance()
|
|
{
|
|
$this->cache = CacheDriverFactory::create('memcache');
|
|
return $this->cache;
|
|
|
|
}
|
|
|
|
public function tearDown()
|
|
{
|
|
$this->cache->clear(false);
|
|
parent::tearDown();
|
|
}
|
|
}
|