aboutsummaryrefslogtreecommitdiffstats
path: root/tests/path_helper
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-10-10 16:20:00 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-10-10 16:20:00 -0500
commit31649f1eb0fa7ce44d4ed8137020f63c5d7e62e6 (patch)
tree351e31e0297d3895cb0977ca66e56c5d51831c09 /tests/path_helper
parentdba5188f23d0c8ac00ed309003fb3251c204a33c (diff)
downloadforums-31649f1eb0fa7ce44d4ed8137020f63c5d7e62e6.tar
forums-31649f1eb0fa7ce44d4ed8137020f63c5d7e62e6.tar.gz
forums-31649f1eb0fa7ce44d4ed8137020f63c5d7e62e6.tar.bz2
forums-31649f1eb0fa7ce44d4ed8137020f63c5d7e62e6.tar.xz
forums-31649f1eb0fa7ce44d4ed8137020f63c5d7e62e6.zip
[ticket/11874] Fix tests
PHPBB3-11874
Diffstat (limited to 'tests/path_helper')
-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',