mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
c844a277b2
commit
b884573c1d
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||||
|
|
Loading…
Add table
Reference in a new issue