[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:
Oleg Pudeyev 2011-05-01 03:11:13 -04:00
parent c844a277b2
commit b884573c1d

View file

@ -331,7 +331,7 @@ class phpbb_template_template_test extends phpbb_test_case
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->display('test');