diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-05-18 10:57:04 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-05-18 10:57:04 -0400 |
commit | efda4da19fedd0e5bd67835034cfc689b8f5a740 (patch) | |
tree | abc0d0c9e7b61db5a5783edbcab40bbc849a9bff /tests/template/template_test.php | |
parent | f24d858cff9d98674cdfe2cb44e1f8fe5afb4563 (diff) | |
download | forums-efda4da19fedd0e5bd67835034cfc689b8f5a740.tar forums-efda4da19fedd0e5bd67835034cfc689b8f5a740.tar.gz forums-efda4da19fedd0e5bd67835034cfc689b8f5a740.tar.bz2 forums-efda4da19fedd0e5bd67835034cfc689b8f5a740.tar.xz forums-efda4da19fedd0e5bd67835034cfc689b8f5a740.zip |
[feature/template-engine] Moved includephp test to its own file.
PHPBB3-9726
Diffstat (limited to 'tests/template/template_test.php')
-rw-r--r-- | tests/template/template_test.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/template/template_test.php b/tests/template/template_test.php index ca43e89922..71cf9d38f3 100644 --- a/tests/template/template_test.php +++ b/tests/template/template_test.php @@ -339,20 +339,6 @@ class phpbb_template_template_test extends phpbb_template_template_test_case $GLOBALS['config']['tpl_allow_php'] = false; } - public function test_includephp_relative() - { - $GLOBALS['config']['tpl_allow_php'] = true; - - $cache_file = $this->template->cachepath . 'includephp_relative.html.php'; - - $this->run_template('includephp_relative.html', array(), array(), array(), "Path is relative to board root.\ntesting included php", $cache_file); - - $this->template->set_filenames(array('test' => 'includephp_relative.html')); - $this->assertEquals("Path is relative to board root.\ntesting included php", $this->display('test'), "Testing INCLUDEPHP"); - - $GLOBALS['config']['tpl_allow_php'] = false; - } - public static function alter_block_array_data() { return array( |