mirror of
https://github.com/friendica/friendica
synced 2025-04-24 04:30:11 +00:00
Fixed & added unittests
This commit is contained in:
parent
065b83d148
commit
3cde7a3e4b
6 changed files with 101 additions and 9 deletions
|
@ -6,7 +6,7 @@ namespace Friendica\Test\src\Core\Cache;
|
|||
|
||||
use Friendica\Core\Cache\CacheDriverFactory;
|
||||
|
||||
class RedisCacheDriverTest extends CacheTest
|
||||
class RedisCacheDriverTest extends MemoryCacheTest
|
||||
{
|
||||
/**
|
||||
* @var \Friendica\Core\Cache\IMemoryCacheDriver
|
||||
|
@ -32,7 +32,7 @@ class RedisCacheDriverTest extends CacheTest
|
|||
public function tearDown()
|
||||
{
|
||||
if (class_exists('Redis')) {
|
||||
$this->cache->clear();
|
||||
$this->cache->clear(false);
|
||||
}
|
||||
parent::tearDown();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue