mirror of
https://github.com/friendica/friendica
synced 2025-04-24 05:10:11 +00:00
Config FollowUp
- New Configuration (Config is now only holding the instance) - New PConfiguration (PConfig is now only holding the instance) - Config & PConfig-Adapter don't need "ConfigCache" anymore - DB-Connection is now outside App->reload() for better dependency-chaining
This commit is contained in:
parent
c36a0eabdb
commit
eafcf3592d
59 changed files with 1754 additions and 1038 deletions
|
@ -14,12 +14,12 @@ class RedisCacheDriverTest extends MemoryCacheTest
|
|||
{
|
||||
$this->configCache
|
||||
->shouldReceive('get')
|
||||
->with('system', 'redis_host', NULL)
|
||||
->with('system', 'redis_host', NULL, false)
|
||||
->andReturn('localhost');
|
||||
|
||||
$this->configCache
|
||||
->shouldReceive('get')
|
||||
->with('system', 'redis_port', NULL)
|
||||
->with('system', 'redis_port', NULL, false)
|
||||
->andReturn(null);
|
||||
|
||||
$this->cache = CacheDriverFactory::create('redis');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue