aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-22 15:52:34 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-22 15:52:34 +0100
commit0c4a0cac613faa9ebd467fbac1507482e79c59aa (patch)
tree8ba7760aa3918d93ad276d88942a07da9d7f69d1 /tests
parent11c9d11482d28bf0ac193ea8c5ac0dd9695162e1 (diff)
parenta3b18d87ddef00424a2dc35061780e1a7dc2c0c6 (diff)
downloadforums-0c4a0cac613faa9ebd467fbac1507482e79c59aa.tar
forums-0c4a0cac613faa9ebd467fbac1507482e79c59aa.tar.gz
forums-0c4a0cac613faa9ebd467fbac1507482e79c59aa.tar.bz2
forums-0c4a0cac613faa9ebd467fbac1507482e79c59aa.tar.xz
forums-0c4a0cac613faa9ebd467fbac1507482e79c59aa.zip
Merge branch 'develop-ascraeus' into develop
Diffstat (limited to 'tests')
-rw-r--r--tests/path_helper/path_helper_test.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/path_helper/path_helper_test.php b/tests/path_helper/path_helper_test.php
index 3832307897..bb68f8b3bc 100644
--- a/tests/path_helper/path_helper_test.php
+++ b/tests/path_helper/path_helper_test.php
@@ -411,6 +411,21 @@ class phpbb_path_helper_test extends phpbb_test_case
'http://www.phpbb.com/community',
'../community/',
),
+ array(
+ 'http://www.phpbb.com/foobar',
+ 'http://www.phpbb.com',
+ '',
+ ),
+ array(
+ 'http://www.foobar.com',
+ 'http://www.phpbb.com',
+ '/www.phpbb.com/',
+ ),
+ array(
+ 'foobar',
+ 'http://www.phpbb.com/community',
+ '',
+ )
);
}