1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Merge branch '3.3.x'

This commit is contained in:
Marc Alexander
2020-09-19 11:28:31 +02:00
7 changed files with 116 additions and 22 deletions

View File

@@ -98,7 +98,11 @@ class phpbb_console_command_cron_list_test extends phpbb_test_case
$pathEx
);
$this->cron_manager = new \phpbb\cron\manager($tasks, $routing_helper, $phpbb_root_path, $pathEx);
$mock_container = new phpbb_mock_container_builder();
$mock_container->set('cron.task_collection', []);
$this->cron_manager = new \phpbb\cron\manager($mock_container, $routing_helper, $phpbb_root_path, $pathEx);
$this->cron_manager->load_tasks($tasks);
}
public function get_command_tester()