mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-10 01:20:12 -04:00
Make minor clarifications to the error messages given when we fail to join a room via any server. (#13160)
This commit is contained in:
parent
4f3082d6bf
commit
39be5bc550
4 changed files with 17 additions and 3 deletions
|
@ -1873,7 +1873,10 @@ class JoinAliasRoomTestCase(unittest.HomeserverTestCase):
|
|||
)
|
||||
|
||||
self.assertEqual(HTTPStatus.NOT_FOUND, channel.code, msg=channel.json_body)
|
||||
self.assertEqual("No known servers", channel.json_body["error"])
|
||||
self.assertEqual(
|
||||
"Can't join remote room because no servers that are in the room have been provided.",
|
||||
channel.json_body["error"],
|
||||
)
|
||||
|
||||
def test_room_is_not_valid(self) -> None:
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue