From 1b2e5503ac770c1825664507cd4b9407d177a2d9 Mon Sep 17 00:00:00 2001 From: Nathaniel Guse Date: Mon, 1 Jul 2013 12:07:29 -0500 Subject: [PATCH] [feature/twig] PHP test moved to a separate file This had to be done because cached template files are available in memory, so Twig doesn't ever reparse a template on the same page load PHPBB3-11598 --- tests/template/template_php_test.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/template/template_php_test.php diff --git a/tests/template/template_php_test.php b/tests/template/template_php_test.php new file mode 100644 index 0000000000..9b5e855757 --- /dev/null +++ b/tests/template/template_php_test.php @@ -0,0 +1,21 @@ +setup_engine(array('tpl_allow_php' => true)); + + $this->run_template('php.html', array(), array(), array(), 'test'); + } +} \ No newline at end of file