diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-06-12 00:41:00 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-11-02 18:06:21 -0400 |
commit | c3fb0f359ca8e39ff9c4c3ffbd9e4e899075cd57 (patch) | |
tree | dc35802d55d0af646bfbfd8db7ce76dc1139aee2 /tests/template/includephp_test.php | |
parent | 766353fe5c40e4d62c1c28f439dd369acbe4efb6 (diff) | |
download | forums-c3fb0f359ca8e39ff9c4c3ffbd9e4e899075cd57.tar forums-c3fb0f359ca8e39ff9c4c3ffbd9e4e899075cd57.tar.gz forums-c3fb0f359ca8e39ff9c4c3ffbd9e4e899075cd57.tar.bz2 forums-c3fb0f359ca8e39ff9c4c3ffbd9e4e899075cd57.tar.xz forums-c3fb0f359ca8e39ff9c4c3ffbd9e4e899075cd57.zip |
[ticket/10933] Specify empty template path for absolute includephp test.
This was probably necessary all along, and the test happened to work
because state was not correctly reset between test runs and
a previous test set an empty template path.
PHPBB3-10933
Diffstat (limited to 'tests/template/includephp_test.php')
-rw-r--r-- | tests/template/includephp_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/includephp_test.php b/tests/template/includephp_test.php index 626735f15f..f008a734eb 100644 --- a/tests/template/includephp_test.php +++ b/tests/template/includephp_test.php @@ -36,7 +36,7 @@ class phpbb_template_includephp_test extends phpbb_template_template_test_case $this->setup_engine(array('tpl_allow_php' => true)); - $this->style->set_custom_style('tests', $cache_dir); + $this->style->set_custom_style('tests', $cache_dir, ''); $cache_file = $this->template->cachepath . 'includephp_absolute.html.php'; $this->run_template('includephp_absolute.html', array(), array(), array(), "Path is absolute.\ntesting included php", $cache_file); |