aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_test.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-07-08 15:18:40 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-07-08 15:21:27 -0500
commit47ec38c011f3d3d86dacdc3126fc36cdec8b1072 (patch)
treed1cf3a46bbbe3858ca91efe91281bad7798d2dd5 /tests/template/template_test.php
parent70a553e0b5471c32469961be40e408bd544b670f (diff)
downloadforums-47ec38c011f3d3d86dacdc3126fc36cdec8b1072.tar
forums-47ec38c011f3d3d86dacdc3126fc36cdec8b1072.tar.gz
forums-47ec38c011f3d3d86dacdc3126fc36cdec8b1072.tar.bz2
forums-47ec38c011f3d3d86dacdc3126fc36cdec8b1072.tar.xz
forums-47ec38c011f3d3d86dacdc3126fc36cdec8b1072.zip
[feature/twig] Add simple test to make sure Twig filters/tags are working
PHPBB3-11598
Diffstat (limited to 'tests/template/template_test.php')
-rw-r--r--tests/template/template_test.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/template/template_test.php b/tests/template/template_test.php
index d99e91bae4..fedfeba33a 100644
--- a/tests/template/template_test.php
+++ b/tests/template/template_test.php
@@ -309,6 +309,13 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
"a\nb\nc\nd",
),
*/
+ array(
+ 'twig.html',
+ array('VARIABLE' => 'FOObar',),
+ array(),
+ array(),
+ "13FOOBAR|foobar",
+ ),
);
}