diff options
author | MateBartus <mate.bartus@gmail.com> | 2015-05-01 19:04:21 +0200 |
---|---|---|
committer | MateBartus <mate.bartus@gmail.com> | 2015-05-05 19:16:49 +0200 |
commit | 7b301e22f32e9209bb4e3ea17a5637a84a4ef908 (patch) | |
tree | 20c56c1c0982976a0234409bdd7bf05050353545 /tests/template/template_events_test.php | |
parent | de687f32ed8df438cb798d98f1a5dda7a5ac76dc (diff) | |
download | forums-7b301e22f32e9209bb4e3ea17a5637a84a4ef908.tar forums-7b301e22f32e9209bb4e3ea17a5637a84a4ef908.tar.gz forums-7b301e22f32e9209bb4e3ea17a5637a84a4ef908.tar.bz2 forums-7b301e22f32e9209bb4e3ea17a5637a84a4ef908.tar.xz forums-7b301e22f32e9209bb4e3ea17a5637a84a4ef908.zip |
[ticket/13804] Make template's user dependency optional
PHPBB3-13804
Diffstat (limited to 'tests/template/template_events_test.php')
-rw-r--r-- | tests/template/template_events_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/template_events_test.php b/tests/template/template_events_test.php index 285e82188b..54e08652a1 100644 --- a/tests/template/template_events_test.php +++ b/tests/template/template_events_test.php @@ -169,7 +169,7 @@ Zeta test event in all', 'autoescape' => false, ) ); - $this->template = new \phpbb\template\twig\twig($path_helper, $config, $user, $context, $twig, $cache_path, array(new \phpbb\template\twig\extension($context, $this->user)), $this->extension_manager); + $this->template = new \phpbb\template\twig\twig($path_helper, $config, $context, $twig, $cache_path, $this->user, array(new \phpbb\template\twig\extension($context, $this->user)), $this->extension_manager); $container->set('template.twig.lexer', new \phpbb\template\twig\lexer($twig)); $this->template->set_custom_style(((!empty($style_names)) ? $style_names : 'silver'), array($this->template_path)); |