aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_functional_test_case.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2015-01-26 02:47:38 +0100
committerAndreas Fischer <bantu@phpbb.com>2015-01-26 02:47:38 +0100
commitffbe8cdc96004c17d57e40b8d66375b01cf01a14 (patch)
tree74356dc04bb1f0236dc68b1d59581b2ca98209de /tests/test_framework/phpbb_functional_test_case.php
parenta2fbde44c0277b793477392ad403bcbcea080934 (diff)
parent4c11ea97d56e759cb3d1bc047a56f92a060f7124 (diff)
downloadforums-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.php2
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)