mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 11:13:59 +02:00
[ticket/12382] Add template test for subloops inside includes
PHPBB3-12382
This commit is contained in:
@@ -320,6 +320,16 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
|
||||
array(),
|
||||
"barbarbar1bar1",
|
||||
),
|
||||
array(
|
||||
'loop_nested_include.html',
|
||||
array(),
|
||||
array(
|
||||
'test_loop' => array(array('foo' => 'bar'), array('foo' => 'bar1')),
|
||||
'test_loop.inner' => array(array('myinner' => 'works')),
|
||||
),
|
||||
array(),
|
||||
"[bar|[bar|]][bar1|[bar1|[bar1|works]]]",
|
||||
),
|
||||
/* Does not pass with the current implementation.
|
||||
array(
|
||||
'loop_reuse.html',
|
||||
|
Reference in New Issue
Block a user