aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_includecss_test.php
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2016-03-23 21:59:40 +0100
committerTristan Darricau <tristan.darricau@sensiolabs.com>2016-04-03 16:23:16 +0200
commit663e3bc64238668ec139b53ccfb2f82a1d306601 (patch)
treed8d921e7a60b75c75d88884cd759198aebb09d7e /tests/template/template_includecss_test.php
parent4070d1e06f677ea43b55c04e67b031a96dd22434 (diff)
downloadforums-663e3bc64238668ec139b53ccfb2f82a1d306601.tar
forums-663e3bc64238668ec139b53ccfb2f82a1d306601.tar.gz
forums-663e3bc64238668ec139b53ccfb2f82a1d306601.tar.bz2
forums-663e3bc64238668ec139b53ccfb2f82a1d306601.tar.xz
forums-663e3bc64238668ec139b53ccfb2f82a1d306601.zip
[ticket/13616] Updates direct call to twig environment constructor
PHPBB3-13616
Diffstat (limited to 'tests/template/template_includecss_test.php')
-rw-r--r--tests/template/template_includecss_test.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/template/template_includecss_test.php b/tests/template/template_includecss_test.php
index ac62e820ae..764652c9c2 100644
--- a/tests/template/template_includecss_test.php
+++ b/tests/template/template_includecss_test.php
@@ -50,7 +50,6 @@ class phpbb_template_template_includecss_test extends phpbb_template_template_te
$config,
$filesystem,
$this->phpbb_path_helper,
- $container,
$cache_path,
null,
$loader,
@@ -80,7 +79,7 @@ class phpbb_template_template_includecss_test extends phpbb_template_template_te
)
)
);
- $container->set('template.twig.lexer', new \phpbb\template\twig\lexer($twig));
+ $twig->setLexer(new \phpbb\template\twig\lexer($twig));
$this->template->set_custom_style('tests', array($this->template_path, $this->parent_template_path));
}