aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_test.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-07-27 20:02:03 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-07-27 20:02:03 -0500
commitd5c56c5d503ea4b12852866e2d3b956e92a92aea (patch)
tree27d3e078443bfd9bb1d317fc2771822959944af8 /tests/template/template_test.php
parent26dac64d45944dce14b33a9c82e531f01f9a623f (diff)
downloadforums-d5c56c5d503ea4b12852866e2d3b956e92a92aea.tar
forums-d5c56c5d503ea4b12852866e2d3b956e92a92aea.tar.gz
forums-d5c56c5d503ea4b12852866e2d3b956e92a92aea.tar.bz2
forums-d5c56c5d503ea4b12852866e2d3b956e92a92aea.tar.xz
forums-d5c56c5d503ea4b12852866e2d3b956e92a92aea.zip
[ticket/11724] Support "ELSE IF" and "ELSEIF" in the same way
PHPBB3-11724
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 dd9ba21c26..2a40107d90 100644
--- a/tests/template/template_test.php
+++ b/tests/template/template_test.php
@@ -64,6 +64,13 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
),
array(
'if.html',
+ array('S_OTHER_OTHER_VALUE' => true),
+ array(),
+ array(),
+ '|S_OTHER_OTHER_VALUE|!false',
+ ),
+ array(
+ 'if.html',
array('S_VALUE' => false, 'S_OTHER_VALUE' => true),
array(),
array(),