Skip to content

Commit 08ed421

Browse files
committed
Fix tests
1 parent 1fe5bfe commit 08ed421

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/template/template_test.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ protected function setup_engine(array $new_config = array())
4646
$cache_path = $phpbb_root_path . 'cache/twig';
4747
$context = new \phpbb\template\context();
4848
$loader = new \phpbb\template\twig\loader();
49+
$assets_bag = new \phpbb\template\assets_bag();
4950
$twig = new \phpbb\template\twig\environment(
51+
$assets_bag,
5052
$config,
5153
$filesystem,
5254
$path_helper,

0 commit comments

Comments
 (0)