mirror of
https://github.com/friendica/friendica
synced 2025-04-28 16:24:25 +02:00
Move path determination logic into the ConfigFactory
This commit is contained in:
parent
5702944116
commit
27e4586597
10 changed files with 114 additions and 55 deletions
|
@ -55,7 +55,7 @@ class DatabaseCacheTest extends CacheTest
|
|||
|
||||
// load real config to avoid mocking every config-entry which is related to the Database class
|
||||
$configFactory = new ConfigFactory();
|
||||
$loader = new ConfigFileLoader($this->root->url(), []);
|
||||
$loader = (new ConfigFactory())->createConfigFileLoader($this->root->url(), []);
|
||||
$configCache = $configFactory->createCache($loader);
|
||||
|
||||
$dba = new StaticDatabase($configCache, $profiler, $logger);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue