aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_framework/phpbb_test_case_helpers.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/test_framework/phpbb_test_case_helpers.php b/tests/test_framework/phpbb_test_case_helpers.php
index b83b1ca5ca..fdc09fbeec 100644
--- a/tests/test_framework/phpbb_test_case_helpers.php
+++ b/tests/test_framework/phpbb_test_case_helpers.php
@@ -94,16 +94,12 @@ class phpbb_test_case_helpers
public function makedirs($path)
{
- if (!is_dir($path))
+ if (is_dir($path) || file_exists($path))
{
- // Testing
- if (file_exists($path))
- {
- echo $path;
- }
-
- mkdir($path, 0777, true);
+ var_dump($path);
+ exit;
}
+ mkdir($path, 0777, true);
}
static public function get_test_config()