From b93db8ec2eb3fb6b89e23ab656d095fc78e25671 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sun, 14 Apr 2019 16:20:12 +0200 Subject: [PATCH] Add new test --- tests/src/Util/BasePathTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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', ] ]; }