We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b5ca35 commit d130a74Copy full SHA for d130a74
1 file changed
tests/GH-225.phpt
@@ -6,8 +6,8 @@ GH-225 - SaveConfig tries to overwrite readonly property
6
<?php
7
namespace phpdotnet\phd;
8
9
-if (!\file_exists(__DIR__ . "./output/")) {
10
- \mkdir(__DIR__ . "./output/", 0777, true);
+if (!\file_exists(__DIR__ . "/../output/")) {
+ \mkdir(__DIR__ . "/../output/", 0777, true);
11
}
12
13
if (\file_exists(__DIR__ . "/../phd.config.php")) {
@@ -25,6 +25,7 @@ require_once __DIR__ . "/../render.php";
25
--CLEAN--
26
27
\unlink(__DIR__ . "/../phd.config.php");
28
+\rmdir(__DIR__ . "/../output/");
29
?>
30
--EXPECTF--
31
%s[%d:%d:%d - Heads up ]%s Loaded config from existing file
0 commit comments