aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_test_case.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_test_case.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_test_case.php')
-rw-r--r--tests/template/template_test_case.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/template_test_case.php b/tests/template/template_test_case.php
index b1826571af..62eea0d361 100644
--- a/tests/template/template_test_case.php
+++ b/tests/template/template_test_case.php
@@ -115,7 +115,7 @@ class phpbb_template_template_test_case extends phpbb_test_case
'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->template = new phpbb\template\twig\twig($path_helper, $config, $context, $twig, $cache_path, $this->user, array(new \phpbb\template\twig\extension($context, $this->user)));
$container->set('template.twig.lexer', new \phpbb\template\twig\lexer($twig));
$this->template->set_custom_style('tests', $this->template_path);
}