aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-01-25 23:06:56 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-01-25 23:06:56 +0100
commited2d08055139bfebc67f01e6d4eda8b03ac7d9e8 (patch)
treeaa42b4613dc4430a65e0d9a48b6b83986701f386 /tests
parent14585fcb4f1d6238a188089891a11895a557f99e (diff)
downloadforums-ed2d08055139bfebc67f01e6d4eda8b03ac7d9e8.tar
forums-ed2d08055139bfebc67f01e6d4eda8b03ac7d9e8.tar.gz
forums-ed2d08055139bfebc67f01e6d4eda8b03ac7d9e8.tar.bz2
forums-ed2d08055139bfebc67f01e6d4eda8b03ac7d9e8.tar.xz
forums-ed2d08055139bfebc67f01e6d4eda8b03ac7d9e8.zip
[ticket/12089] Add assert message on HTTP status code check
PHPBB3-12089
Diffstat (limited to 'tests')
-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 4522674649..9b64600c7d 100644
--- a/tests/test_framework/phpbb_functional_test_case.php
+++ b/tests/test_framework/phpbb_functional_test_case.php
@@ -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');
}
/**