diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-06-24 21:58:09 -0500 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-06-24 21:58:09 -0500 |
commit | 814d57d201d654ce0510ede5b43cfad6b06d372e (patch) | |
tree | 8ef114e83c3a5f45ae744e179804c0a52af5ed88 /tests/template | |
parent | d986e124fe03f7a924bec90c49738db0327f8ad5 (diff) | |
download | forums-814d57d201d654ce0510ede5b43cfad6b06d372e.tar forums-814d57d201d654ce0510ede5b43cfad6b06d372e.tar.gz forums-814d57d201d654ce0510ede5b43cfad6b06d372e.tar.bz2 forums-814d57d201d654ce0510ede5b43cfad6b06d372e.tar.xz forums-814d57d201d654ce0510ede5b43cfad6b06d372e.zip |
[feature/twig] Delete template_compile_test.php
No longer necessary
PHPBB3-11598
Diffstat (limited to 'tests/template')
-rw-r--r-- | tests/template/template_compile_test.php | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/template/template_compile_test.php b/tests/template/template_compile_test.php deleted file mode 100644 index 7393fc1747..0000000000 --- a/tests/template/template_compile_test.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php -/** -* -* @package testing -* @copyright (c) 2011 phpBB Group -* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 -* -*/ - -require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php'; - -class phpbb_template_template_compile_test extends phpbb_test_case -{ - private $template_compile; - private $template_path; - - protected function setUp() - { - $this->template_compile = new phpbb_template_compile(false, null, $this->style_resource_locator, ''); - $this->template_path = dirname(__FILE__) . '/templates'; - } - - public function test_in_phpbb() - { - $output = $this->template_compile->compile_file($this->template_path . '/trivial.html'); - $this->assertTrue(strlen($output) > 0); - $statements = explode(';', $output); - $first_statement = $statements[0]; - $this->assertTrue(!!preg_match('#if.*defined.*IN_PHPBB.*exit#', $first_statement)); - } -} |