mirror of
https://github.com/friendica/friendica
synced 2024-12-22 08:00:16 +00:00
Rename CacheTest to CacheTestCase
This commit is contained in:
parent
75fee6784e
commit
0826cb50bd
3 changed files with 8 additions and 7 deletions
|
@ -5,13 +5,13 @@
|
|||
//
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
namespace Friendica\Test\src\Core\Cache;
|
||||
namespace Friendica\Test;
|
||||
|
||||
use Friendica\Core\Cache\Capability\ICanCache;
|
||||
use Friendica\Test\MockedTestCase;
|
||||
use Friendica\Util\PidFile;
|
||||
|
||||
abstract class CacheTest extends MockedTestCase
|
||||
abstract class CacheTestCase extends MockedTestCase
|
||||
{
|
||||
/**
|
||||
* @var int Start time of the mock (used for time operations)
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
namespace Friendica\Test\src\Core\Cache;
|
||||
|
||||
use Friendica\App\BaseURL;
|
||||
use Friendica\Core\Cache;
|
||||
use Friendica\Core\Cache\Type\DatabaseCache;
|
||||
use Friendica\Test\CacheTestCase;
|
||||
use Friendica\Test\DatabaseTestTrait;
|
||||
use Friendica\Test\Util\CreateDatabaseTrait;
|
||||
use Friendica\Test\Util\VFSTrait;
|
||||
|
||||
class DatabaseCacheTest extends CacheTest
|
||||
class DatabaseCacheTest extends CacheTestCase
|
||||
{
|
||||
use DatabaseTestTrait;
|
||||
use CreateDatabaseTrait;
|
||||
|
@ -30,7 +30,7 @@ class DatabaseCacheTest extends CacheTest
|
|||
|
||||
protected function getInstance()
|
||||
{
|
||||
$this->cache = new Cache\Type\DatabaseCache('database', $this->getDbInstance());
|
||||
$this->cache = new DatabaseCache('database', $this->getDbInstance());
|
||||
return $this->cache;
|
||||
}
|
||||
|
||||
|
|
|
@ -9,8 +9,9 @@ namespace Friendica\Test\src\Core\Cache;
|
|||
|
||||
use Exception;
|
||||
use Friendica\Core\Cache\Capability\ICanCacheInMemory;
|
||||
use Friendica\Test\CacheTestCase;
|
||||
|
||||
abstract class MemoryCacheTest extends CacheTest
|
||||
abstract class MemoryCacheTest extends CacheTestCase
|
||||
{
|
||||
/**
|
||||
* @var \Friendica\Core\Cache\Capability\ICanCacheInMemory
|
||||
|
|
Loading…
Reference in a new issue