1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

Merge branch 'ticket/16891' into ticket/16891-master

This commit is contained in:
Marc Alexander
2022-01-31 21:48:53 +01:00
19 changed files with 80 additions and 25 deletions

View File

@@ -59,18 +59,19 @@ class phpbb_mention_controller_test extends phpbb_database_test_case
'mention_names_limit' => 3,
));
// Event dispatcher
$phpbb_dispatcher = new phpbb_mock_event_dispatcher();
$cache_driver = new \phpbb\cache\driver\dummy();
$cache = new \phpbb\cache\service(
$cache_driver,
$config,
$db,
$phpbb_dispatcher,
$phpbb_root_path,
$phpEx
);
// Event dispatcher
$phpbb_dispatcher = new phpbb_mock_event_dispatcher();
// Language
$lang = new \phpbb\language\language(new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx));