aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_events_test.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-09-13 10:58:03 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-09-13 10:58:03 -0500
commitb4a374dc73eda55db1c67b87bd65a73f79411ef5 (patch)
treeae392771a6aad76517e46b17c26797037c036a61 /tests/template/template_events_test.php
parent21624e79fc512fd86177080010bb7d26c71ce3cb (diff)
downloadforums-b4a374dc73eda55db1c67b87bd65a73f79411ef5.tar
forums-b4a374dc73eda55db1c67b87bd65a73f79411ef5.tar.gz
forums-b4a374dc73eda55db1c67b87bd65a73f79411ef5.tar.bz2
forums-b4a374dc73eda55db1c67b87bd65a73f79411ef5.tar.xz
forums-b4a374dc73eda55db1c67b87bd65a73f79411ef5.zip
[ticket/11832] Fix INCLUDE(JS/CSS)
PHPBB3-11832
Diffstat (limited to 'tests/template/template_events_test.php')
-rw-r--r--tests/template/template_events_test.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/template/template_events_test.php b/tests/template/template_events_test.php
index 4280a7e7ff..58691a36da 100644
--- a/tests/template/template_events_test.php
+++ b/tests/template/template_events_test.php
@@ -116,7 +116,14 @@ Zeta test event in all',
$this->extension_manager = new phpbb_mock_filesystem_extension_manager(
dirname(__FILE__) . "/datasets/$dataset/"
);
- $this->template = new phpbb_template_twig($phpbb_root_path, $phpEx, $config, $user, new phpbb_template_context, $this->extension_manager);
+ $phpbb_filesystem = new phpbb_filesystem(
+ new phpbb_symfony_request(
+ new phpbb_mock_request()
+ ),
+ $phpbb_root_path,
+ $phpEx
+ );
+ $this->template = new phpbb_template_twig($phpbb_filesystem, $config, $user, new phpbb_template_context, $this->extension_manager);
$this->template->set_custom_style(((!empty($style_names)) ? $style_names : 'silver'), array($this->template_path));
}
}