1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/12382] Mark broken nested loop with include as incomplete

PHPBB3-12382
This commit is contained in:
Joas Schilling
2014-04-14 18:56:34 +02:00
parent b3a758a43b
commit 91eaae122f
2 changed files with 15 additions and 2 deletions

View File

@@ -102,6 +102,7 @@ Zeta test event in all',
),
array(),
'event_loop[0[subloop:0]]',
'Event files are missing opened parent loops: PHPBB3-12382',
),
);
}
@@ -109,8 +110,13 @@ Zeta test event in all',
/**
* @dataProvider template_data
*/
public function test_event($desc, $dataset, $style_names, $file, array $vars, array $block_vars, array $destroy, $expected)
public function test_event($desc, $dataset, $style_names, $file, array $vars, array $block_vars, array $destroy, $expected, $incomplete_message = '')
{
if ($incomplete_message)
{
$this->markTestIncomplete($incomplete_message);
}
// Reset the engine state
$this->setup_engine_for_events($dataset, $style_names);