1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +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

@@ -104,6 +104,12 @@ class phpbb_cron_manager_test extends \phpbb_test_case
$phpEx
);
return new \phpbb\cron\manager($tasks, $routing_helper, $phpbb_root_path, $phpEx);
$mock_container = new phpbb_mock_container_builder();
$mock_container->set('cron.task_collection', []);
$cron_manager = new \phpbb\cron\manager($mock_container, $routing_helper, $phpbb_root_path, $phpEx);
$cron_manager->load_tasks($tasks);
return $cron_manager;
}
}