aboutsummaryrefslogtreecommitdiffstats
path: root/tests/filesystem
diff options
context:
space:
mode:
Diffstat (limited to 'tests/filesystem')
-rw-r--r--tests/filesystem/web_root_path_test.php13
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/filesystem/web_root_path_test.php b/tests/filesystem/web_root_path_test.php
index badc2fab58..8e0ba278e0 100644
--- a/tests/filesystem/web_root_path_test.php
+++ b/tests/filesystem/web_root_path_test.php
@@ -62,7 +62,7 @@ class phpbb_filesystem_web_root_path_test extends phpbb_test_case
),
array(
$this->phpbb_root_path . 'test.php',
- $this->phpbb_root_path . 'test.php',
+ $this->phpbb_root_path . '../test.php',
'//',
),
array(
@@ -75,7 +75,16 @@ class phpbb_filesystem_web_root_path_test extends phpbb_test_case
array(
$this->phpbb_root_path . 'test.php',
$this->phpbb_root_path . '../../test.php',
- '////',
+ '/foo/template',
+ '/phpbb3-fork/phpBB/app.php/foo/template',
+ '/phpbb3-fork/phpBB/app.php',
+ ),
+ array(
+ $this->phpbb_root_path . 'test.php',
+ $this->phpbb_root_path . '../test.php',
+ '/foo/template',
+ '/phpbb3-fork/phpBB/foo/template',
+ '/phpbb3-fork/phpBB/app.php',
),
);
}