- Added $prefix to all CacheDriver - Moved hostname magic to CacheDriver - Added test for getAllKeys()
21 lines
354 B
PHP
21 lines
354 B
PHP
<?php
|
|
|
|
namespace Friendica\Test\src\Core\Cache;
|
|
|
|
use Friendica\Core\Cache\CacheDriverFactory;
|
|
|
|
class DatabaseCacheDriverTest extends CacheTest
|
|
{
|
|
protected function getInstance()
|
|
{
|
|
$this->cache = CacheDriverFactory::create('database');
|
|
return $this->cache;
|
|
}
|
|
|
|
public function tearDown()
|
|
{
|
|
$this->cache->clear(false);
|
|
parent::tearDown();
|
|
}
|
|
}
|