Add missing errcode to parse_string and parse_boolean (#11542)

This commit is contained in:
Dirk Klimpel 2021-12-09 12:23:34 +01:00 committed by GitHub
parent afa0a5e4fc
commit b3bcacf3c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 12 deletions

View file

@ -92,7 +92,7 @@ class UserMediaStatisticsTestCase(unittest.HomeserverTestCase):
channel.code,
msg=channel.json_body,
)
self.assertEqual(Codes.UNKNOWN, channel.json_body["errcode"])
self.assertEqual(Codes.INVALID_PARAM, channel.json_body["errcode"])
# negative from
channel = self.make_request(