mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 06:36:39 +02:00
[feature/template-engine] Relax missing file exception check.
As long as the exception message has the correct description and file name we should not care which function raised the exception. PHPBB3-9726
This commit is contained in:
@ -331,7 +331,7 @@ class phpbb_template_template_test extends phpbb_test_case
|
|||||||
|
|
||||||
public function test_invalid_handle()
|
public function test_invalid_handle()
|
||||||
{
|
{
|
||||||
$expecting = 'template->_tpl_load(): No file specified for handle test';
|
$expecting = 'No file specified for handle test';
|
||||||
$this->setExpectedTriggerError(E_USER_ERROR, $expecting);
|
$this->setExpectedTriggerError(E_USER_ERROR, $expecting);
|
||||||
|
|
||||||
$this->display('test');
|
$this->display('test');
|
||||||
|
Reference in New Issue
Block a user