Skip to content

Commit d130a74

Browse files
author
haszi
committed
Fix test - take 2
1 parent 9b5ca35 commit d130a74

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/GH-225.phpt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ GH-225 - SaveConfig tries to overwrite readonly property
66
<?php
77
namespace phpdotnet\phd;
88

9-
if (!\file_exists(__DIR__ . "./output/")) {
10-
\mkdir(__DIR__ . "./output/", 0777, true);
9+
if (!\file_exists(__DIR__ . "/../output/")) {
10+
\mkdir(__DIR__ . "/../output/", 0777, true);
1111
}
1212

1313
if (\file_exists(__DIR__ . "/../phd.config.php")) {
@@ -25,6 +25,7 @@ require_once __DIR__ . "/../render.php";
2525
--CLEAN--
2626
<?php
2727
\unlink(__DIR__ . "/../phd.config.php");
28+
\rmdir(__DIR__ . "/../output/");
2829
?>
2930
--EXPECTF--
3031
%s[%d:%d:%d - Heads up ]%s Loaded config from existing file

0 commit comments

Comments
 (0)