aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_test.php
diff options
context:
space:
mode:
authorPatrick Webster <noxwizard@phpbb.com>2011-09-08 17:54:59 -0500
committerPatrick Webster <noxwizard@phpbb.com>2011-09-08 17:54:59 -0500
commitb5ecb2f7a84fc53185572e2a603e8c49fdc85c7a (patch)
treeea6dc66ed2620a8dc4b05f43b5c389b87adf1d3d /tests/template/template_test.php
parentfbec7c9b2b594e8bc750c5bf12a1f58a5577f8d8 (diff)
downloadforums-b5ecb2f7a84fc53185572e2a603e8c49fdc85c7a.tar
forums-b5ecb2f7a84fc53185572e2a603e8c49fdc85c7a.tar.gz
forums-b5ecb2f7a84fc53185572e2a603e8c49fdc85c7a.tar.bz2
forums-b5ecb2f7a84fc53185572e2a603e8c49fdc85c7a.tar.xz
forums-b5ecb2f7a84fc53185572e2a603e8c49fdc85c7a.zip
[ticket/10322] Dynamic template include test
PHPBB3-10322
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 44baeaf8f0..a200148a29 100644
--- a/tests/template/template_test.php
+++ b/tests/template/template_test.php
@@ -163,6 +163,13 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
'value',
),
array(
+ 'include_variable.html',
+ array('FILE' => 'variable.html', 'VARIABLE' => 'value'),
+ array(),
+ array(),
+ "value\nvalue",
+ ),
+ array(
'loop_vars.html',
array(),
array('loop' => array(array('VARIABLE' => 'x'), array('VARIABLE' => 'y')), 'loop.inner' => array(array(), array())),