1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 03:54:10 +01:00

[ticket/12089] Add assert message on HTTP status code check

PHPBB3-12089
This commit is contained in:
Joas Schilling 2015-01-25 23:06:56 +01:00
parent 14585fcb4f
commit ed2d080551

View File

@ -601,7 +601,7 @@ class phpbb_functional_test_case extends phpbb_test_case
*/
static public function assert_response_status_code($status_code = 200)
{
self::assertEquals($status_code, self::$client->getResponse()->getStatus());
self::assertEquals($status_code, self::$client->getResponse()->getStatus(), 'HTTP status code does not match');
}
/**