aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_test_case_with_tree.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-09-26 15:34:44 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-09-26 15:34:44 +0200
commit7525c49d454e1ff4a156709ea9ecc1dc0b28dd6e (patch)
tree9a7cf0bb2f985be79c51d4d0a1743a90b5532404 /tests/template/template_test_case_with_tree.php
parente8303bc3199081d1f9f0679d3b98298ccdc49deb (diff)
downloadforums-7525c49d454e1ff4a156709ea9ecc1dc0b28dd6e.tar
forums-7525c49d454e1ff4a156709ea9ecc1dc0b28dd6e.tar.gz
forums-7525c49d454e1ff4a156709ea9ecc1dc0b28dd6e.tar.bz2
forums-7525c49d454e1ff4a156709ea9ecc1dc0b28dd6e.tar.xz
forums-7525c49d454e1ff4a156709ea9ecc1dc0b28dd6e.zip
[ticket/11852] Split filesystem and path_helper into 2 classes
PHPBB3-11852
Diffstat (limited to 'tests/template/template_test_case_with_tree.php')
-rw-r--r--tests/template/template_test_case_with_tree.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/template/template_test_case_with_tree.php b/tests/template/template_test_case_with_tree.php
index 232331d37c..e614c42d73 100644
--- a/tests/template/template_test_case_with_tree.php
+++ b/tests/template/template_test_case_with_tree.php
@@ -18,17 +18,18 @@ class phpbb_template_template_test_case_with_tree extends phpbb_template_templat
$defaults = $this->config_defaults();
$config = new \phpbb\config\config(array_merge($defaults, $new_config));
- $this->phpbb_filesystem = new \phpbb\filesystem(
+ $this->phpbb_path_helper = new \phpbb\path_helper(
new \phpbb\symfony_request(
new phpbb_mock_request()
),
+ new \phpbb\filesystem(),
$phpbb_root_path,
$phpEx
);
$this->template_path = $this->test_path . '/templates';
$this->parent_template_path = $this->test_path . '/parent_templates';
- $this->template = new phpbb\template\twig\twig($this->phpbb_filesystem, $config, $user, new phpbb\template\context());
+ $this->template = new phpbb\template\twig\twig($this->phpbb_path_helper, $config, $user, new phpbb\template\context());
$this->template->set_custom_style('tests', array($this->template_path, $this->parent_template_path));
}
}