diff --git a/tests/template/template_test.php b/tests/template/template_test.php index 5692fcf06f..0922599d74 100644 --- a/tests/template/template_test.php +++ b/tests/template/template_test.php @@ -39,8 +39,6 @@ class phpbb_template_template_test extends phpbb_test_case protected function setUp() { -// $this->markTestIncomplete("template::display raises notices."); - // Test the engine can be used $this->setup_engine(); @@ -422,15 +420,10 @@ class phpbb_template_template_test extends phpbb_test_case $this->template->destroy_block_vars($block); } - //$error_level = error_reporting(); - //error_reporting($error_level & ~E_NOTICE); - $this->assertEquals($expected, self::trim_template_result($this->template->assign_display('test')), "Testing assign_display($file)"); $this->template->assign_display('test', 'VARIABLE', false); - //error_reporting($error_level); - $this->assertEquals($expected, $this->display('container'), "Testing assign_display($file)"); }