mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 15:17:16 +01:00
[ticket/11686] Not checking for phpBB Debug errors on functional tests
PHPBB3-11686
This commit is contained in:
parent
b1b37ddde2
commit
6bfa2fc055
@ -577,6 +577,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
|
||||
// Any output before the doc type means there was an error
|
||||
$content = self::$client->getResponse()->getContent();
|
||||
self::assertNotContains('[phpBB Debug]', $content);
|
||||
self::assertStringStartsWith('<!DOCTYPE', trim($content), 'Output found before DOCTYPE specification.');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user