1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-27 12:00:26 +02:00

[ticket/14542] Fix tests

PHPBB3-14542
This commit is contained in:
Máté Bartus
2016-08-05 23:03:35 +02:00
committed by Marc Alexander
parent 7a173877b7
commit 271ac6b57e
3 changed files with 5 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ class phpbb_console_command_cron_list_test extends phpbb_test_case
->willReturn('foobar'); ->willReturn('foobar');
$request = new \phpbb\request\request(); $request = new \phpbb\request\request();
$request->enable_super_globals();
$routing_helper = new \phpbb\routing\helper( $routing_helper = new \phpbb\routing\helper(
$mock_config, $mock_config,

View File

@@ -66,6 +66,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
->willReturn('foobar'); ->willReturn('foobar');
$request = new \phpbb\request\request(); $request = new \phpbb\request\request();
$request->enable_super_globals();
$routing_helper = new \phpbb\routing\helper( $routing_helper = new \phpbb\routing\helper(
$mock_config, $mock_config,
@@ -139,6 +140,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
->willReturn('foobar'); ->willReturn('foobar');
$request = new \phpbb\request\request(); $request = new \phpbb\request\request();
$request->enable_super_globals();
$routing_helper = new \phpbb\routing\helper( $routing_helper = new \phpbb\routing\helper(
$mock_config, $mock_config,
@@ -179,6 +181,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
->willReturn('foobar'); ->willReturn('foobar');
$request = new \phpbb\request\request(); $request = new \phpbb\request\request();
$request->enable_super_globals();
$routing_helper = new \phpbb\routing\helper( $routing_helper = new \phpbb\routing\helper(
$mock_config, $mock_config,

View File

@@ -90,6 +90,7 @@ class phpbb_cron_manager_test extends \phpbb_test_case
->willReturn('foobar'); ->willReturn('foobar');
$request = new \phpbb\request\request(); $request = new \phpbb\request\request();
$request->enable_super_globals();
$routing_helper = new \phpbb\routing\helper( $routing_helper = new \phpbb\routing\helper(
$mock_config, $mock_config,