aboutsummaryrefslogtreecommitdiffstats
path: root/tests/controller
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/controller
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/controller')
-rw-r--r--tests/controller/common_helper_route.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/controller/common_helper_route.php b/tests/controller/common_helper_route.php
index b938766fa3..44e5e12ab0 100644
--- a/tests/controller/common_helper_route.php
+++ b/tests/controller/common_helper_route.php
@@ -107,7 +107,7 @@ abstract class phpbb_controller_common_helper_route extends phpbb_test_case
'autoescape' => false,
)
);
- $this->template = new phpbb\template\twig\twig($this->phpbb_path_helper, $this->config, $this->user, $context, $twig, $cache_path, array(new \phpbb\template\twig\extension($context, $this->user)));
+ $this->template = new phpbb\template\twig\twig($this->phpbb_path_helper, $this->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->extension_manager = new phpbb_mock_extension_manager(