aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_events_test.php
diff options
context:
space:
mode:
authorMateBartus <mate.bartus@gmail.com>2015-05-01 19:04:21 +0200
committerMateBartus <mate.bartus@gmail.com>2015-05-05 19:16:49 +0200
commit7b301e22f32e9209bb4e3ea17a5637a84a4ef908 (patch)
tree20c56c1c0982976a0234409bdd7bf05050353545 /tests/template/template_events_test.php
parentde687f32ed8df438cb798d98f1a5dda7a5ac76dc (diff)
downloadforums-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.php2
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));