aboutsummaryrefslogtreecommitdiffstats
path: root/tests/path_helper/web_root_path_test.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2013-10-10 15:54:58 -0700
committerNils Adermann <naderman@naderman.de>2013-10-10 15:54:58 -0700
commit446dc9b47e51bc38a6593ff399a1ba155a6b5b49 (patch)
tree67314deea5bc506b1daabdca5ea23099f2e3b2fe /tests/path_helper/web_root_path_test.php
parent0b56390e320fbad7d3873b5e7db35af958e89386 (diff)
parentac9225774ecd93cbc717b99902c9cc94c7d8372e (diff)
downloadforums-446dc9b47e51bc38a6593ff399a1ba155a6b5b49.tar
forums-446dc9b47e51bc38a6593ff399a1ba155a6b5b49.tar.gz
forums-446dc9b47e51bc38a6593ff399a1ba155a6b5b49.tar.bz2
forums-446dc9b47e51bc38a6593ff399a1ba155a6b5b49.tar.xz
forums-446dc9b47e51bc38a6593ff399a1ba155a6b5b49.zip
Merge pull request #1764 from EXreaction/ticket/11874
[ticket/11874] Do not always prepend the web path; only replace phpbb_root_path
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',