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:
parent
14585fcb4f
commit
ed2d080551
@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user