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

@@ -44,7 +44,11 @@ class phpbb_template_template_includecss_test extends phpbb_template_template_te
$cache_path = $phpbb_root_path . 'cache/twig';
$context = new \phpbb\template\context();
$loader = new \phpbb\template\twig\loader('');
$log = new \phpbb\log\dummy();
$iconify_bundler = new \phpbb\assets\iconify_bundler($log);
$assets_bag = new \phpbb\template\assets_bag($iconify_bundler);
$twig = new \phpbb\template\twig\environment(
$assets_bag,
$config,
$filesystem,
$this->phpbb_path_helper,