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

[ticket/16944] Update tests for adjusted environment constructor

PHPBB3-16944
This commit is contained in:
Marc Alexander
2023-11-12 15:09:22 +01:00
parent 0434bce5af
commit 3db2089208
12 changed files with 43 additions and 0 deletions

View File

@@ -66,8 +66,13 @@ class phpbb_email_parsing_test extends phpbb_test_case
);
$phpbb_container->set('ext.manager', $extension_manager);
$log = new \phpbb\log\dummy();
$iconify_bundler = new \phpbb\assets\iconify_bundler($log);
$assets_bag = new \phpbb\template\assets_bag($iconify_bundler);
$context = new \phpbb\template\context();
$twig = new \phpbb\template\twig\environment(
$assets_bag,
$config,
$filesystem,
$phpbb_path_helper,