aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/template/template_test.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/template/template_test.php b/tests/template/template_test.php
index 0553132484..9b4023c62c 100644
--- a/tests/template/template_test.php
+++ b/tests/template/template_test.php
@@ -32,8 +32,10 @@ class phpbb_template_template_test extends phpbb_test_case
private function setup_engine()
{
+ global $phpbb_root_path, $phpEx, $config, $user;
+
$this->template_path = dirname(__FILE__) . '/templates';
- $this->template = new phpbb_template();
+ $this->template = new phpbb_template($phpbb_root_path, $phpEx, $config, $user);
$this->template->set_custom_template($this->template_path, 'tests');
}