X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2FUtil%2FVFSTrait.php;h=96f385b3bad3813bb2a5f29bc56483e50611b45b;hb=aa0b485f3dca72c5448076e913fa54d948cd7731;hp=110f24a61ae38e4a54b8c03dcfcb0ac1b3b0ce2f;hpb=0b97b32a591241bb693dd4cc3584f704bb14aa60;p=friendica.git diff --git a/tests/Util/VFSTrait.php b/tests/Util/VFSTrait.php index 110f24a61a..96f385b3ba 100644 --- a/tests/Util/VFSTrait.php +++ b/tests/Util/VFSTrait.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Test\Util; @@ -23,11 +42,13 @@ trait VFSTrait 'bin' => [], 'static' => [], 'test' => [], + 'logs' => [], ]; // create a virtual directory and copy all needed files and folders to it $this->root = vfsStream::setup('friendica', 0777, $structure); + $this->setConfigFile('dbstructure.config.php', true); $this->setConfigFile('defaults.config.php', true); $this->setConfigFile('settings.config.php', true); $this->setConfigFile('local.config.php');