aboutsummaryrefslogtreecommitdiffstats
path: root/tests/console
diff options
context:
space:
mode:
authorMáté Bartus <mate.bartus@gmail.com>2016-08-05 23:03:35 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-05-06 21:45:21 +0200
commit271ac6b57e6725fb1aba869c832beb482f85d61c (patch)
treeebc05cc658dc65513e6b66eed51ad0bf1f336459 /tests/console
parent7a173877b7244f4ab6a8ff7b6fa0d6450027751b (diff)
downloadforums-271ac6b57e6725fb1aba869c832beb482f85d61c.tar
forums-271ac6b57e6725fb1aba869c832beb482f85d61c.tar.gz
forums-271ac6b57e6725fb1aba869c832beb482f85d61c.tar.bz2
forums-271ac6b57e6725fb1aba869c832beb482f85d61c.tar.xz
forums-271ac6b57e6725fb1aba869c832beb482f85d61c.zip
[ticket/14542] Fix tests
PHPBB3-14542
Diffstat (limited to 'tests/console')
-rw-r--r--tests/console/cron/cron_list_test.php1
-rw-r--r--tests/console/cron/run_test.php3
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/console/cron/cron_list_test.php b/tests/console/cron/cron_list_test.php
index 99291ec215..d56d5b040f 100644
--- a/tests/console/cron/cron_list_test.php
+++ b/tests/console/cron/cron_list_test.php
@@ -90,6 +90,7 @@ class phpbb_console_command_cron_list_test extends phpbb_test_case
->willReturn('foobar');
$request = new \phpbb\request\request();
+ $request->enable_super_globals();
$routing_helper = new \phpbb\routing\helper(
$mock_config,
diff --git a/tests/console/cron/run_test.php b/tests/console/cron/run_test.php
index 8f5be00a80..c4dffa3686 100644
--- a/tests/console/cron/run_test.php
+++ b/tests/console/cron/run_test.php
@@ -66,6 +66,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
->willReturn('foobar');
$request = new \phpbb\request\request();
+ $request->enable_super_globals();
$routing_helper = new \phpbb\routing\helper(
$mock_config,
@@ -139,6 +140,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
->willReturn('foobar');
$request = new \phpbb\request\request();
+ $request->enable_super_globals();
$routing_helper = new \phpbb\routing\helper(
$mock_config,
@@ -179,6 +181,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
->willReturn('foobar');
$request = new \phpbb\request\request();
+ $request->enable_super_globals();
$routing_helper = new \phpbb\routing\helper(
$mock_config,