mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge remote-tracking branch 'github-exreaction/ticket/11686' into develop-olympus
* github-exreaction/ticket/11686: [ticket/11686] Not checking for phpBB Debug errors on functional tests
This commit is contained in:
commit
b0905cc1d2
1 changed files with 1 additions and 0 deletions
|
@ -577,6 +577,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||||
|
|
||||||
// Any output before the doc type means there was an error
|
// Any output before the doc type means there was an error
|
||||||
$content = self::$client->getResponse()->getContent();
|
$content = self::$client->getResponse()->getContent();
|
||||||
|
self::assertNotContains('[phpBB Debug]', $content);
|
||||||
self::assertStringStartsWith('<!DOCTYPE', trim($content), 'Output found before DOCTYPE specification.');
|
self::assertStringStartsWith('<!DOCTYPE', trim($content), 'Output found before DOCTYPE specification.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue