From b884573c1d322b207f9dcbcbc02806eed408fbab Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Sun, 1 May 2011 03:11:13 -0400 Subject: [PATCH] [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 --- tests/template/template_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/template/template_test.php b/tests/template/template_test.php index 0a46ff4d23..cb9563150a 100644 --- a/tests/template/template_test.php +++ b/tests/template/template_test.php @@ -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');