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:
@@ -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)");
|
||||
}
|
||||
|
Reference in New Issue
Block a user