aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_test.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2013-01-13 20:12:06 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2013-01-13 20:13:17 -0500
commit62279d46a60e695a71c4748f8722975a37f488bc (patch)
treecd6fe9b643e1569430e0b58cc650e58886aa1b40 /tests/template/template_test.php
parent56e6d0531b4d7de70be018e7c136c791fca3b945 (diff)
parent227f7f46dfdba990242c96f6d6e27f0d12ab4784 (diff)
downloadforums-62279d46a60e695a71c4748f8722975a37f488bc.tar
forums-62279d46a60e695a71c4748f8722975a37f488bc.tar.gz
forums-62279d46a60e695a71c4748f8722975a37f488bc.tar.bz2
forums-62279d46a60e695a71c4748f8722975a37f488bc.tar.xz
forums-62279d46a60e695a71c4748f8722975a37f488bc.zip
Merge PR #1194 branch 'develop-olympus' into develop
* develop-olympus: [ticket/11323] Add tests for inclusion of defined variables
Diffstat (limited to 'tests/template/template_test.php')
-rw-r--r--tests/template/template_test.php20
1 files changed, 19 insertions, 1 deletions
diff --git a/tests/template/template_test.php b/tests/template/template_test.php
index 83995cb4ac..f43157775a 100644
--- a/tests/template/template_test.php
+++ b/tests/template/template_test.php
@@ -196,7 +196,25 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
array('loop' => array(array('VARIABLE' => 'x'), array('VARIABLE' => 'y')), 'loop.inner' => array(array(), array())),
array('loop'),
'',
- ),/* no top level nested loops
+ ),
+ /* Currently fail on develop:
+ http://tracker.phpbb.com/browse/PHPBB3-11323
+ array(
+ 'include_define_variable.html',
+ array('VARIABLE' => 'variable.html'),
+ array(),
+ array(),
+ 'variable.html',
+ ),
+ array(
+ 'include_loop_define.html',
+ array('VARIABLE' => 'value'),
+ array('loop' => array(array('NESTED_FILE' => 'variable.html'))),
+ array(),
+ 'value',
+ ),
+ */
+ /* no top level nested loops
array(
'loop_vars.html',
array(),