mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/11508] Fix build_url test.
PHPBB3-11508
This commit is contained in:
parent
5e7bcd2fa6
commit
141d386025
1 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ class phpbb_build_url_test extends phpbb_test_case
|
||||||
$user = new phpbb_mock_user();
|
$user = new phpbb_mock_user();
|
||||||
$phpbb_dispatcher = new phpbb_mock_event_dispatcher();
|
$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\symfony_request(
|
||||||
new phpbb_mock_request()
|
new phpbb_mock_request()
|
||||||
),
|
),
|
||||||
|
@ -52,12 +52,12 @@ class phpbb_build_url_test extends phpbb_test_case
|
||||||
array(
|
array(
|
||||||
'viewtopic.php?f=2&style=1&t=6',
|
'viewtopic.php?f=2&style=1&t=6',
|
||||||
array('f', 'style', 't'),
|
array('f', 'style', 't'),
|
||||||
'phpBB/viewtopic.php',
|
'phpBB/viewtopic.php?',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'http://test.phpbb.com/viewtopic.php?f=2&style=1&t=6',
|
'http://test.phpbb.com/viewtopic.php?f=2&style=1&t=6',
|
||||||
array('f', 'style', 't'),
|
array('f', 'style', 't'),
|
||||||
'http://test.phpbb.com/viewtopic.php',
|
'http://test.phpbb.com/viewtopic.php?',
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue