From: Philipp Date: Sun, 12 Sep 2021 11:51:03 +0000 (+0200) Subject: Fix test X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b7c262bee66d7c2962a2b7506a12444fbd8eb0be;p=friendica.git Fix test --- diff --git a/tests/src/Core/StorageManagerTest.php b/tests/src/Core/StorageManagerTest.php index f68bf027b6..b0def99b70 100644 --- a/tests/src/Core/StorageManagerTest.php +++ b/tests/src/Core/StorageManagerTest.php @@ -73,7 +73,7 @@ class StorageManagerTest 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 = $configFactory->createConfigFileLoader($this->root->url(), []); $configCache = $configFactory->createCache($loader); $this->dba = new StaticDatabase($configCache, $profiler, $this->logger);