friendica/tests/src/Core/Cache/MemcacheCacheDriverTest.php

27 lines
403 B
PHP
Raw Normal View History

2018-07-07 14:07:07 -04:00
<?php
namespace Friendica\Test\src\Core\Cache;
use Friendica\Core\Cache\CacheDriverFactory;
/**
* @requires extension memcache
*/
2018-07-07 14:35:42 -04:00
class MemcacheCacheDriverTest extends MemoryCacheTest
2018-07-07 14:07:07 -04:00
{
protected function getInstance()
{
$this->cache = CacheDriverFactory::create('memcache');
return $this->cache;
2018-07-07 14:07:07 -04:00
}
public function tearDown()
{
$this->cache->clear(false);
2018-07-07 14:07:07 -04:00
parent::tearDown();
}
}