aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-05-10 04:22:39 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2012-11-17 16:39:58 -0500
commitf46f48a2cfbc923f4e4734dfd200cc6ddbfd689e (patch)
tree8a1c486d67e9342c40e26885a4b4eef118cc80b2 /tests/template
parent7bd5f7641f3be1d3f8a4ceb71508656c72718ed9 (diff)
downloadforums-f46f48a2cfbc923f4e4734dfd200cc6ddbfd689e.tar
forums-f46f48a2cfbc923f4e4734dfd200cc6ddbfd689e.tar.gz
forums-f46f48a2cfbc923f4e4734dfd200cc6ddbfd689e.tar.bz2
forums-f46f48a2cfbc923f4e4734dfd200cc6ddbfd689e.tar.xz
forums-f46f48a2cfbc923f4e4734dfd200cc6ddbfd689e.zip
[feature/template-events] Chase template/style renames and changes.
PHPBB3-9550
Diffstat (limited to 'tests/template')
-rw-r--r--tests/template/template_compile_test.php2
-rw-r--r--tests/template/template_events_test.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/template/template_compile_test.php b/tests/template/template_compile_test.php
index 0cfcd6ceb5..7393fc1747 100644
--- a/tests/template/template_compile_test.php
+++ b/tests/template/template_compile_test.php
@@ -16,7 +16,7 @@ class phpbb_template_template_compile_test extends phpbb_test_case
protected function setUp()
{
- $this->template_compile = new phpbb_template_compile(false, null, '');
+ $this->template_compile = new phpbb_template_compile(false, null, $this->style_resource_locator, '');
$this->template_path = dirname(__FILE__) . '/templates';
}
diff --git a/tests/template/template_events_test.php b/tests/template/template_events_test.php
index c5b54ebba8..2d6fd4bfb2 100644
--- a/tests/template/template_events_test.php
+++ b/tests/template/template_events_test.php
@@ -49,7 +49,7 @@ class phpbb_template_template_events_test extends phpbb_template_template_test_c
$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_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), '');
}