aboutsummaryrefslogtreecommitdiffstats
path: root/tests/path_helper/web_root_path_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/path_helper/web_root_path_test.php')
-rw-r--r--tests/path_helper/web_root_path_test.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/path_helper/web_root_path_test.php b/tests/path_helper/web_root_path_test.php
index 938b58892b..2e1a37e02b 100644
--- a/tests/path_helper/web_root_path_test.php
+++ b/tests/path_helper/web_root_path_test.php
@@ -53,12 +53,17 @@ class phpbb_path_helper_web_root_path_test extends phpbb_test_case
return array(
array(
+ 'http://www.test.com/test.php',
+ 'http://www.test.com/test.php',
+ '/',
+ ),
+ array(
$this->phpbb_root_path . 'test.php',
$this->phpbb_root_path . 'test.php',
),
array(
'test.php',
- $this->phpbb_root_path . 'test.php',
+ 'test.php',
),
array(
$this->phpbb_root_path . $this->phpbb_root_path . 'test.php',