aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template
diff options
context:
space:
mode:
authorVjacheslav Trushkin <arty@phpbb.com>2012-04-03 13:23:08 +0300
committerNils Adermann <naderman@naderman.de>2012-04-19 04:21:56 +0200
commit6cecc91326135fbb36eb9d73aa25fc40cfdfb54b (patch)
treeb76600714c47f3e68f953e8cca7151b8ab307844 /tests/template
parentea3a2ef2234095e9db2d79f8c1d17bf1dfda1a23 (diff)
downloadforums-6cecc91326135fbb36eb9d73aa25fc40cfdfb54b.tar
forums-6cecc91326135fbb36eb9d73aa25fc40cfdfb54b.tar.gz
forums-6cecc91326135fbb36eb9d73aa25fc40cfdfb54b.tar.bz2
forums-6cecc91326135fbb36eb9d73aa25fc40cfdfb54b.tar.xz
forums-6cecc91326135fbb36eb9d73aa25fc40cfdfb54b.zip
[ticket/10756] Removing path provider from template class
Removing path provider from template class because it is not used by template class PHPBB3-10756
Diffstat (limited to 'tests/template')
-rw-r--r--tests/template/template_test_case.php2
-rw-r--r--tests/template/template_test_case_with_tree.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/template/template_test_case.php b/tests/template/template_test_case.php
index a87e531a07..4170fdf278 100644
--- a/tests/template/template_test_case.php
+++ b/tests/template/template_test_case.php
@@ -66,7 +66,7 @@ class phpbb_template_template_test_case extends phpbb_test_case
$this->template_path = dirname(__FILE__) . '/templates';
$this->style_resource_locator = new phpbb_style_resource_locator();
$this->style_provider = new phpbb_style_path_provider();
- $this->template = new phpbb_style_template($phpbb_root_path, $phpEx, $config, $user, $this->style_resource_locator, $this->style_provider);
+ $this->template = new phpbb_style_template($phpbb_root_path, $phpEx, $config, $user, $this->style_resource_locator);
$this->style = new phpbb_style($phpbb_root_path, $phpEx, $config, $user, $this->style_resource_locator, $this->style_provider, $this->template);
$this->style->set_custom_style('tests', $this->template_path, '');
}
diff --git a/tests/template/template_test_case_with_tree.php b/tests/template/template_test_case_with_tree.php
index e76d9436cf..536ac394a8 100644
--- a/tests/template/template_test_case_with_tree.php
+++ b/tests/template/template_test_case_with_tree.php
@@ -22,7 +22,7 @@ class phpbb_template_template_test_case_with_tree extends phpbb_template_templat
$this->parent_template_path = dirname(__FILE__) . '/parent_templates';
$this->style_resource_locator = new phpbb_style_resource_locator();
$this->style_provider = new phpbb_style_path_provider();
- $this->template = new phpbb_style_template($phpbb_root_path, $phpEx, $config, $user, $this->style_resource_locator, $this->style_provider);
+ $this->template = new phpbb_style_template($phpbb_root_path, $phpEx, $config, $user, $this->style_resource_locator);
$this->style = new phpbb_style($phpbb_root_path, $phpEx, $config, $user, $this->style_resource_locator, $this->style_provider, $this->template);
$this->style->set_custom_style('tests', array($this->template_path, $this->parent_template_path), '');
}