mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 18:15:02 -04:00
Add missing errcode
to parse_string
and parse_boolean
(#11542)
This commit is contained in:
parent
afa0a5e4fc
commit
b3bcacf3c1
6 changed files with 13 additions and 12 deletions
|
@ -360,7 +360,7 @@ class DeleteMediaByDateSizeTestCase(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"])
|
||||
self.assertEqual(
|
||||
"Boolean query parameter 'keep_profiles' must be one of ['true', 'false']",
|
||||
channel.json_body["error"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue