mirror of
https://github.com/friendica/friendica
synced 2025-05-10 07:44:11 +02:00
Refactoring Core class structures ...
This commit is contained in:
parent
57b4c008cb
commit
b216317477
130 changed files with 1625 additions and 1397 deletions
|
@ -22,12 +22,12 @@
|
|||
namespace Friendica\Test\src\Core\Cache;
|
||||
|
||||
use Exception;
|
||||
use Friendica\Core\Cache\IMemoryCache;
|
||||
use Friendica\Core\Cache\Capability\ICanCacheInMemory;
|
||||
|
||||
abstract class MemoryCacheTest extends CacheTest
|
||||
{
|
||||
/**
|
||||
* @var IMemoryCache
|
||||
* @var \Friendica\Core\Cache\Capability\ICanCacheInMemory
|
||||
*/
|
||||
protected $instance;
|
||||
|
||||
|
@ -35,7 +35,7 @@ abstract class MemoryCacheTest extends CacheTest
|
|||
{
|
||||
parent::setUp();
|
||||
|
||||
if (!($this->instance instanceof IMemoryCache)) {
|
||||
if (!($this->instance instanceof ICanCacheInMemory)) {
|
||||
throw new Exception('MemoryCacheTest unsupported');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue