diff options
author | Andreas Fischer <bantu@phpbb.com> | 2015-01-26 02:47:38 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2015-01-26 02:47:38 +0100 |
commit | ffbe8cdc96004c17d57e40b8d66375b01cf01a14 (patch) | |
tree | 74356dc04bb1f0236dc68b1d59581b2ca98209de /tests/test_framework/phpbb_functional_test_case.php | |
parent | a2fbde44c0277b793477392ad403bcbcea080934 (diff) | |
parent | 4c11ea97d56e759cb3d1bc047a56f92a060f7124 (diff) | |
download | forums-ffbe8cdc96004c17d57e40b8d66375b01cf01a14.tar forums-ffbe8cdc96004c17d57e40b8d66375b01cf01a14.tar.gz forums-ffbe8cdc96004c17d57e40b8d66375b01cf01a14.tar.bz2 forums-ffbe8cdc96004c17d57e40b8d66375b01cf01a14.tar.xz forums-ffbe8cdc96004c17d57e40b8d66375b01cf01a14.zip |
Merge branch 'develop-olympus' into develop-ascraeus
* develop-olympus:
[ticket/12089] Add assert message on HTTP status code check
Diffstat (limited to 'tests/test_framework/phpbb_functional_test_case.php')
-rw-r--r-- | tests/test_framework/phpbb_functional_test_case.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php index 6c045712ab..b6769f08d0 100644 --- a/tests/test_framework/phpbb_functional_test_case.php +++ b/tests/test_framework/phpbb_functional_test_case.php @@ -885,7 +885,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'); } public function assert_filter($crawler, $expr, $msg = null) |