1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-27 20:10:18 +02:00

[feature/merging-style-components] Updating test cases

Updating code in test cases for new template classes.

PHPBB3-10632
This commit is contained in:
Vjacheslav Trushkin
2012-03-15 21:12:13 +02:00
parent fd96f97dc3
commit d25b607ca1
4 changed files with 5 additions and 5 deletions

@@ -72,7 +72,7 @@ class phpbb_template_template_inheritance_test extends phpbb_template_template_t
$this->template_path = dirname(__FILE__) . '/templates';
$this->parent_template_path = dirname(__FILE__) . '/parent_templates';
$this->style = new phpbb_style($phpbb_root_path, $phpEx, $config, $user, false);
$this->style->set_custom_style('tests', array($this->template_path, $this->parent_template_path), '');
$this->template = $this->style->template;
$this->template->set_custom_template($this->template_path, 'tests', $this->parent_template_path, 'parent');
}
}