mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch 'develop-olympus' into develop-ascraeus
* develop-olympus: [ticket/12089] Add assert message on HTTP status code check
This commit is contained in:
commit
ffbe8cdc96
1 changed files with 1 additions and 1 deletions
|
@ -885,7 +885,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||||
*/
|
*/
|
||||||
static public function assert_response_status_code($status_code = 200)
|
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');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function assert_filter($crawler, $expr, $msg = null)
|
public function assert_filter($crawler, $expr, $msg = null)
|
||||||
|
|
Loading…
Add table
Reference in a new issue