mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
[feature/twig] Fix controller/helper_url_test (missing globals)
PHPBB3-11598
This commit is contained in:
parent
2819a2641b
commit
2dd58413e2
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class phpbb_controller_helper_url_test extends phpbb_test_case
|
||||||
*/
|
*/
|
||||||
public function test_helper_url($route, $params, $is_amp, $session_id, $expected, $description)
|
public function test_helper_url($route, $params, $is_amp, $session_id, $expected, $description)
|
||||||
{
|
{
|
||||||
global $phpbb_dispatcher;
|
global $phpbb_dispatcher, $phpbb_root_path, $phpEx;
|
||||||
|
|
||||||
$phpbb_dispatcher = new phpbb_mock_event_dispatcher;
|
$phpbb_dispatcher = new phpbb_mock_event_dispatcher;
|
||||||
$this->style_resource_locator = new phpbb_style_resource_locator();
|
$this->style_resource_locator = new phpbb_style_resource_locator();
|
||||||
|
|
Loading…
Add table
Reference in a new issue