mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17176] Update implementations to be compatible with Symfony 6.3
PHPBB3-17176
This commit is contained in:
@@ -97,7 +97,8 @@ class phpbb_console_command_cron_list_test extends phpbb_test_case
|
||||
);
|
||||
|
||||
$mock_container = new phpbb_mock_container_builder();
|
||||
$mock_container->set('cron.task_collection', []);
|
||||
$task_collection = new \phpbb\di\service_collection($mock_container);
|
||||
$mock_container->set('cron.task_collection', $task_collection);
|
||||
|
||||
$this->cron_manager = new \phpbb\cron\manager($mock_container, $routing_helper, $phpbb_root_path, $pathEx, null);
|
||||
$this->cron_manager->load_tasks($tasks);
|
||||
|
Reference in New Issue
Block a user