aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-04 13:25:50 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-07-04 13:40:37 -0500
commit8cf6dbd95035f71ea8cff0f2f8d834b91b243429 (patch)
tree118200a1dcfe7718ae24b0fc18f0ad2875520968 /tests
parentfdbdd8bfd92795098b4f9a704a677972e611f455 (diff)
downloadforums-8cf6dbd95035f71ea8cff0f2f8d834b91b243429.tar
forums-8cf6dbd95035f71ea8cff0f2f8d834b91b243429.tar.gz
forums-8cf6dbd95035f71ea8cff0f2f8d834b91b243429.tar.bz2
forums-8cf6dbd95035f71ea8cff0f2f8d834b91b243429.tar.xz
forums-8cf6dbd95035f71ea8cff0f2f8d834b91b243429.zip
[feature/twig] Trying some new debug code for this mkdir error
PHPBB3-11598
Diffstat (limited to 'tests')
-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()