aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_includecss_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_includecss_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_includecss_test.php')
-rw-r--r--tests/template/template_includecss_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/template_includecss_test.php b/tests/template/template_includecss_test.php
index 8c398d992b..062fc9493b 100644
--- a/tests/template/template_includecss_test.php
+++ b/tests/template/template_includecss_test.php
@@ -64,10 +64,10 @@ class phpbb_template_template_includecss_test extends phpbb_template_template_te
$this->template = new phpbb\template\twig\twig(
$this->phpbb_path_helper,
$config,
- $user,
$context,
$twig,
$cache_path,
+ $this->user,
array(new \phpbb\template\twig\extension($context, $this->user)),
new phpbb_mock_extension_manager(
dirname(__FILE__) . '/',