diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-06-24 22:44:12 -0500 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-06-24 22:44:12 -0500 |
commit | 92391d2f4f5b9a01d7407da7c00102844620761f (patch) | |
tree | 2419e948e3e5e43020882a4304f629169c8f8bb9 /tests/template/template_inheritance_test.php | |
parent | 8bda356dabae89b8dff62796a6bf6e9b57cd85c1 (diff) | |
download | forums-92391d2f4f5b9a01d7407da7c00102844620761f.tar forums-92391d2f4f5b9a01d7407da7c00102844620761f.tar.gz forums-92391d2f4f5b9a01d7407da7c00102844620761f.tar.bz2 forums-92391d2f4f5b9a01d7407da7c00102844620761f.tar.xz forums-92391d2f4f5b9a01d7407da7c00102844620761f.zip |
[feature/twig] Correct template_inheritance_test.php
PHPBB3-11598
Diffstat (limited to 'tests/template/template_inheritance_test.php')
-rw-r--r-- | tests/template/template_inheritance_test.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/template/template_inheritance_test.php b/tests/template/template_inheritance_test.php index febfed9ef0..cc71ff99e0 100644 --- a/tests/template/template_inheritance_test.php +++ b/tests/template/template_inheritance_test.php @@ -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) { - $cache_file = $this->template->cachepath . str_replace('/', '.', $file) . '.php'; - - $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); + $this->run_template($file, $vars, $block_vars, $destroy, $expected); } } |