Refactoring Core class structures ...
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Friendica\Test\src\Core\Cache;
|
||||
|
||||
use Exception;
|
||||
use Friendica\Core\Cache\Type\RedisCache;
|
||||
use Friendica\Core\Config\IConfig;
|
||||
use Friendica\Core\Config\Capability\IManageConfigValues;
|
||||
use Mockery;
|
||||
|
||||
/**
|
||||
@@ -34,7 +34,7 @@ class RedisCacheTest extends MemoryCacheTest
|
||||
{
|
||||
protected function getInstance()
|
||||
{
|
||||
$configMock = Mockery::mock(IConfig::class);
|
||||
$configMock = Mockery::mock(IManageConfigValues::class);
|
||||
|
||||
$host = $_SERVER['REDIS_HOST'] ?? 'localhost';
|
||||
$port = $_SERVER['REDIS_PORT'] ?? 6379;
|
||||
|
||||
Reference in New Issue
Block a user