]> git.mxchange.org Git - friendica.git/blobdiff - tests/Util/VFSTrait.php
Merge pull request #13651 from annando/picture-upload
[friendica.git] / tests / Util / VFSTrait.php
index 3a203588cf450b4ef179f241b1b5927b7d54dfb1..4c31a5e64e702edd95daef0ad4fa8e3f3ee32ac3 100644 (file)
@@ -54,7 +54,7 @@ trait VFSTrait
                $this->setConfigFile('static' . DIRECTORY_SEPARATOR . 'defaults.config.php', true);
                $this->setConfigFile('static' . DIRECTORY_SEPARATOR . 'settings.config.php', true);
                $this->setConfigFile(
-                       'mods' . DIRECTORY_SEPARATOR . 'local.config.vagrant.php',
+                       'mods' . DIRECTORY_SEPARATOR . 'local.config.ci.php',
                        false, 'local.config.php'
                );
        }
@@ -65,7 +65,7 @@ trait VFSTrait
         * @param string $sourceFilePath The filename of the config file
         * @param bool   $static         True, if the folder `static` instead of `config` should be used
         */
-       protected function setConfigFile(string $sourceFilePath, bool $static = false, string $targetFileName = null)
+       public function setConfigFile(string $sourceFilePath, bool $static = false, string $targetFileName = null)
        {
                $file = dirname(__DIR__) . DIRECTORY_SEPARATOR .
                        '..' . DIRECTORY_SEPARATOR .
@@ -85,7 +85,7 @@ trait VFSTrait
        }
 
        /**
-        * Delets a config file from the Virtual File System
+        * Deletes a config file from the Virtual File System
         *
         * @param string $filename The filename of the config file
         * @param bool   $static   True, if the folder `static` instead of `config` should be used