mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge pull request #6376 from lionel-rowe/ticket/16977
[ticket/16977] Fix cron-job img tag layout and accessibility
This commit is contained in:
@@ -101,7 +101,7 @@ class phpbb_console_command_cron_list_test extends phpbb_test_case
|
||||
$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 = new \phpbb\cron\manager($mock_container, $routing_helper, $phpbb_root_path, $pathEx, null);
|
||||
$this->cron_manager->load_tasks($tasks);
|
||||
}
|
||||
|
||||
|
@@ -77,7 +77,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
|
||||
$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, $phpEx);
|
||||
$this->cron_manager = new \phpbb\cron\manager($mock_container, $routing_helper, $phpbb_root_path, $phpEx, null);
|
||||
$this->cron_manager->load_tasks($tasks);
|
||||
|
||||
$this->assertSame('0', $config['cron_lock']);
|
||||
@@ -155,7 +155,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
|
||||
$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, $phpEx);
|
||||
$this->cron_manager = new \phpbb\cron\manager($mock_container, $routing_helper, $phpbb_root_path, $phpEx, null);
|
||||
$this->cron_manager->load_tasks($tasks);
|
||||
|
||||
$command_tester = $this->get_command_tester();
|
||||
@@ -202,7 +202,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
|
||||
$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, $phpEx);
|
||||
$this->cron_manager = new \phpbb\cron\manager($mock_container, $routing_helper, $phpbb_root_path, $phpEx, null);
|
||||
$this->cron_manager->load_tasks($tasks);
|
||||
|
||||
$command_tester = $this->get_command_tester();
|
||||
|
@@ -211,7 +211,7 @@ abstract class phpbb_controller_common_helper_route extends phpbb_database_test_
|
||||
$this->auth,
|
||||
$this->cache,
|
||||
$this->config,
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php'),
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php', null),
|
||||
$this->db,
|
||||
$this->dispatcher,
|
||||
$this->language,
|
||||
@@ -274,7 +274,7 @@ abstract class phpbb_controller_common_helper_route extends phpbb_database_test_
|
||||
$this->auth,
|
||||
$this->cache,
|
||||
$this->config,
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php'),
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php', null),
|
||||
$this->db,
|
||||
$this->dispatcher,
|
||||
$this->language,
|
||||
@@ -337,7 +337,7 @@ abstract class phpbb_controller_common_helper_route extends phpbb_database_test_
|
||||
$this->auth,
|
||||
$this->cache,
|
||||
$this->config,
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php'),
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php', null),
|
||||
$this->db,
|
||||
$this->dispatcher,
|
||||
$this->language,
|
||||
@@ -400,7 +400,7 @@ abstract class phpbb_controller_common_helper_route extends phpbb_database_test_
|
||||
$this->auth,
|
||||
$this->cache,
|
||||
$this->config,
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php'),
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php', null),
|
||||
$this->db,
|
||||
$this->dispatcher,
|
||||
$this->language,
|
||||
@@ -463,7 +463,7 @@ abstract class phpbb_controller_common_helper_route extends phpbb_database_test_
|
||||
$this->auth,
|
||||
$this->cache,
|
||||
$this->config,
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php'),
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php', null),
|
||||
$this->db,
|
||||
$this->dispatcher,
|
||||
$this->language,
|
||||
@@ -526,7 +526,7 @@ abstract class phpbb_controller_common_helper_route extends phpbb_database_test_
|
||||
$this->auth,
|
||||
$this->cache,
|
||||
$this->config,
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php'),
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php', null),
|
||||
$this->db,
|
||||
$this->dispatcher,
|
||||
$this->language,
|
||||
@@ -586,7 +586,7 @@ abstract class phpbb_controller_common_helper_route extends phpbb_database_test_
|
||||
$this->auth,
|
||||
$this->cache,
|
||||
$this->config,
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php'),
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php', null),
|
||||
$this->db,
|
||||
$this->dispatcher,
|
||||
$this->language,
|
||||
@@ -649,7 +649,7 @@ abstract class phpbb_controller_common_helper_route extends phpbb_database_test_
|
||||
$this->auth,
|
||||
$this->cache,
|
||||
$this->config,
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php'),
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php', null),
|
||||
$this->db,
|
||||
$this->dispatcher,
|
||||
$this->language,
|
||||
@@ -701,7 +701,7 @@ abstract class phpbb_controller_common_helper_route extends phpbb_database_test_
|
||||
$this->auth,
|
||||
$this->cache,
|
||||
$this->config,
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php'),
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, $this->root_path, 'php', null),
|
||||
$this->db,
|
||||
$this->dispatcher,
|
||||
$this->language,
|
||||
|
@@ -107,7 +107,7 @@ class phpbb_cron_manager_test extends \phpbb_test_case
|
||||
$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 = new \phpbb\cron\manager($mock_container, $routing_helper, $phpbb_root_path, $phpEx, null);
|
||||
$cron_manager->load_tasks($tasks);
|
||||
|
||||
return $cron_manager;
|
||||
|
@@ -66,7 +66,7 @@ class phpbb_pagination_pagination_test extends phpbb_template_template_test_case
|
||||
new \phpbb\auth\auth(),
|
||||
new \phpbb\cache\driver\dummy(),
|
||||
$this->config,
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, '', 'php'),
|
||||
new \phpbb\cron\manager($mock_container, $this->routing_helper, '', 'php', null),
|
||||
$db,
|
||||
new phpbb_mock_event_dispatcher(),
|
||||
new \phpbb\language\language(new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx)),
|
||||
|
Reference in New Issue
Block a user