aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-02-28 00:02:40 -0800
committerCesar G <prototech91@gmail.com>2014-04-22 15:21:02 -0700
commit141d386025b8a47a787b95f82058cc3c766a4007 (patch)
tree1d0c300d328f2665c30370090c98e4dd9f2a4822 /tests
parent5e7bcd2fa6ef4e24dc98d15c1eddd76593f56c1a (diff)
downloadforums-141d386025b8a47a787b95f82058cc3c766a4007.tar
forums-141d386025b8a47a787b95f82058cc3c766a4007.tar.gz
forums-141d386025b8a47a787b95f82058cc3c766a4007.tar.bz2
forums-141d386025b8a47a787b95f82058cc3c766a4007.tar.xz
forums-141d386025b8a47a787b95f82058cc3c766a4007.zip
[ticket/11508] Fix build_url test.
PHPBB3-11508
Diffstat (limited to 'tests')
-rw-r--r--tests/functions/build_url_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functions/build_url_test.php b/tests/functions/build_url_test.php
index 8d0aa76317..7e1c620664 100644
--- a/tests/functions/build_url_test.php
+++ b/tests/functions/build_url_test.php
@@ -21,7 +21,7 @@ class phpbb_build_url_test extends phpbb_test_case
$user = new phpbb_mock_user();
$phpbb_dispatcher = new phpbb_mock_event_dispatcher();
- $this->path_helper = new \phpbb\path_helper(
+ $path_helper = new \phpbb\path_helper(
new \phpbb\symfony_request(
new phpbb_mock_request()
),
@@ -52,12 +52,12 @@ class phpbb_build_url_test extends phpbb_test_case
array(
'viewtopic.php?f=2&style=1&t=6',
array('f', 'style', 't'),
- 'phpBB/viewtopic.php',
+ 'phpBB/viewtopic.php?',
),
array(
'http://test.phpbb.com/viewtopic.php?f=2&style=1&t=6',
array('f', 'style', 't'),
- 'http://test.phpbb.com/viewtopic.php',
+ 'http://test.phpbb.com/viewtopic.php?',
),
);
}