mirror of
https://github.com/friendica/friendica
synced 2025-04-25 13:50:10 +00: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
|
@ -57,7 +57,7 @@ class DatabaseLockDriverTest extends LockTest
|
|||
|
||||
// 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