mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15214] Test fix for test_bbcode_firstpass
Add new dispatch parameter to the template\twig\extension call PHPBB3-15214
This commit is contained in:
parent
5608f00f62
commit
e34da0b33d
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class phpbb_email_parsing_test extends phpbb_test_case
|
||||||
'autoescape' => false,
|
'autoescape' => false,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$twig_extension = new \phpbb\template\twig\extension($context, $twig, $lang);
|
$twig_extension = new \phpbb\template\twig\extension($context, $twig, $lang, $dispatcher);
|
||||||
$phpbb_container->set('template.twig.extensions.phpbb', $twig_extension);
|
$phpbb_container->set('template.twig.extensions.phpbb', $twig_extension);
|
||||||
|
|
||||||
$twig_extensions_collection = new \phpbb\di\service_collection($phpbb_container);
|
$twig_extensions_collection = new \phpbb\di\service_collection($phpbb_container);
|
||||||
|
|
Loading…
Add table
Reference in a new issue