mirror of
https://github.com/friendica/friendica
synced 2025-04-25 23:50:11 +00:00
Add the possibility to use a different configuration directory
This commit is contained in:
parent
c40b3411a7
commit
5702944116
12 changed files with 75 additions and 19 deletions
|
@ -33,7 +33,7 @@ class ProcessTest extends DatabaseTest
|
|||
|
||||
// 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 ConfigFileLoader($this->root->url(), []);
|
||||
$configCache = $configFactory->createCache($loader);
|
||||
|
||||
$this->dba = new StaticDatabase($configCache, $profiler, $logger);
|
||||
|
|
|
@ -55,7 +55,7 @@ class DatabaseStorageTest extends StorageTest
|
|||
|
||||
// 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 ConfigFileLoader($this->root->url(), []);
|
||||
$configCache = $configFactory->createCache($loader);
|
||||
|
||||
$dba = new StaticDatabase($configCache, $profiler, $logger);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue