aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_includecss_test.php
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2015-05-14 17:03:12 +0200
committerNicofuma <github@nicofuma.fr>2015-05-14 17:03:12 +0200
commitba9ac01dc0dc5297ce613ff3ca62cec9e5d1a8fc (patch)
tree3b0af71583b22d3de171273defba147cf4ea5725 /tests/template/template_includecss_test.php
parenta26ab86dc63b196c79d86f3da36b8596a7beeb02 (diff)
parent281f2ef2dacc7d635646edb3897fba8ff6f66d25 (diff)
downloadforums-ba9ac01dc0dc5297ce613ff3ca62cec9e5d1a8fc.tar
forums-ba9ac01dc0dc5297ce613ff3ca62cec9e5d1a8fc.tar.gz
forums-ba9ac01dc0dc5297ce613ff3ca62cec9e5d1a8fc.tar.bz2
forums-ba9ac01dc0dc5297ce613ff3ca62cec9e5d1a8fc.tar.xz
forums-ba9ac01dc0dc5297ce613ff3ca62cec9e5d1a8fc.zip
Merge pull request #3581 from MateBartus/ticket/13804
[ticket/13804] Make template's user dependency optional
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__) . '/',