From ac9a910c64c13d7a12cd7b0746956afa468c29db Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Wed, 11 May 2011 21:13:37 -0400 Subject: [PATCH] [feature/template-engine] Delete obsolete comments pertaining to notices. PHPBB3-9726 --- tests/template/template_test.php | 7 ------- 1 file changed, 7 deletions(-) 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)"); }