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

[feature/template-engine] Deleted silencing of notices.

The code is now supposed to be notice-free, therefore there is no need
to have the notices silenced.

PHPBB3-9726
This commit is contained in:
Oleg Pudeyev
2011-04-24 21:22:43 -04:00
parent a2c75f6053
commit 5c3ebb3465
2 changed files with 5 additions and 3 deletions

View File

@@ -381,14 +381,14 @@ 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);
//$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);
//error_reporting($error_level);
$this->assertEquals($expected, $this->display('container'), "Testing assign_display($file)");
}