]> git.mxchange.org Git - friendica.git/blobdiff - tests/Util/VFSTrait.php
Merge pull request #6638 from Ixiter/develop-markdown-anchors
[friendica.git] / tests / Util / VFSTrait.php
index 1edc25d42411ada35324d2470cf126217fd59b63..320d989cce04c093accffdec897814fc54c72528 100644 (file)
@@ -27,9 +27,9 @@ trait VFSTrait
                // create a virtual directory and copy all needed files and folders to it
                $this->root = vfsStream::setup('friendica', null, $structure);
 
-               $this->setConfigFile('config.ini.php');
-               $this->setConfigFile('settings.ini.php');
-               $this->setConfigFile('local.ini.php');
+               $this->setConfigFile('defaults.config.php');
+               $this->setConfigFile('settings.config.php');
+               $this->setConfigFile('local.config.php');
                $this->setConfigFile('dbstructure.config.php');
        }
 
@@ -60,7 +60,7 @@ trait VFSTrait
        protected function delConfigFile($filename)
        {
                if ($this->root->hasChild('config/' . $filename)) {
-                       $this->root->removeChild('config/' . $filename);
+                       $this->root->getChild('config')->removeChild($filename);
                }
        }
 }