]> git.mxchange.org Git - friendica.git/commitdiff
Fix test fixture for ConfigFileManager
authorArt4 <art4@wlabs.de>
Tue, 4 Feb 2025 19:14:35 +0000 (19:14 +0000)
committerArt4 <art4@wlabs.de>
Tue, 4 Feb 2025 19:14:35 +0000 (19:14 +0000)
tests/FixtureTestTrait.php

index 61de6441de3616f7760fd871840141a7a33db2e4..8c4508eeb88cae433cecf792e6bb1bbcdc90247c 100644 (file)
@@ -44,7 +44,7 @@ trait FixtureTestTrait
                        ->addRules(include __DIR__ . '/../static/dependencies.config.php')
                        ->addRule(ConfigFileManager::class, [
                                'instanceOf' => Config::class,
-                               'call'       => [['createConfigFileManager', [$this->root->url(), $server,], Dice::CHAIN_CALL]]])
+                               'call'       => [['createConfigFileManager', [$this->root->url(), $this->root->url() . '/addon', $server,], Dice::CHAIN_CALL]]])
                        ->addRule(Database::class, ['instanceOf' => StaticDatabase::class, 'shared' => true])
                        ->addRule(IHandleSessions::class, ['instanceOf' => Memory::class, 'shared' => true, 'call' => null])
                        ->addRule(Arguments::class, [