mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[feature/twig] Correct template_inheritance_test.php
PHPBB3-11598
This commit is contained in:
parent
8bda356dab
commit
92391d2f4f
1 changed files with 1 additions and 10 deletions
|
@ -50,15 +50,6 @@ class phpbb_template_template_inheritance_test extends phpbb_template_template_t
|
||||||
*/
|
*/
|
||||||
public function test_template($name, $file, array $vars, array $block_vars, array $destroy, $expected)
|
public function test_template($name, $file, array $vars, array $block_vars, array $destroy, $expected)
|
||||||
{
|
{
|
||||||
$cache_file = $this->template->cachepath . str_replace('/', '.', $file) . '.php';
|
$this->run_template($file, $vars, $block_vars, $destroy, $expected);
|
||||||
|
|
||||||
$this->assertFileNotExists($cache_file);
|
|
||||||
|
|
||||||
$this->run_template($file, $vars, $block_vars, $destroy, $expected, $cache_file);
|
|
||||||
|
|
||||||
// Reset the engine state
|
|
||||||
$this->setup_engine();
|
|
||||||
|
|
||||||
$this->run_template($file, $vars, $block_vars, $destroy, $expected, $cache_file);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue