mirror of
https://github.com/friendica/friendica
synced 2025-04-24 04:30:11 +00:00
Fixing tests
This commit is contained in:
parent
5e5c39b0e1
commit
f5adbd268b
18 changed files with 101 additions and 93 deletions
|
@ -12,14 +12,14 @@ class RedisCacheDriverTest extends MemoryCacheTest
|
|||
{
|
||||
protected function getInstance()
|
||||
{
|
||||
$this->configCache
|
||||
$this->configMock
|
||||
->shouldReceive('get')
|
||||
->with('system', 'redis_host', NULL, false)
|
||||
->with('system', 'redis_host')
|
||||
->andReturn('localhost');
|
||||
|
||||
$this->configCache
|
||||
$this->configMock
|
||||
->shouldReceive('get')
|
||||
->with('system', 'redis_port', NULL, false)
|
||||
->with('system', 'redis_port')
|
||||
->andReturn(null);
|
||||
|
||||
$this->cache = CacheDriverFactory::create('redis');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue