From: Philipp Holzer Date: Sun, 14 Apr 2019 14:20:12 +0000 (+0200) Subject: Add new test X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b93db8ec2eb3fb6b89e23ab656d095fc78e25671;p=friendica.git Add new test --- diff --git a/tests/src/Util/BasePathTest.php b/tests/src/Util/BasePathTest.php index c31adb079e..3c619255cf 100644 --- a/tests/src/Util/BasePathTest.php +++ b/tests/src/Util/BasePathTest.php @@ -40,6 +40,14 @@ class BasePathTest extends MockedTest ], 'input' => 'config', 'output' => dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'config', + ], + 'no_overwrite_if_invalid' => [ + 'server' => [ + 'DOCUMENT_ROOT' => '/nopopop', + 'PWD' => dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'config', + ], + 'input' => '/noatgawe22fafa', + 'output' => dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'config', ] ]; }