summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-07-27 10:37:50 +0000
committerGitHub <noreply@github.com>2022-07-27 10:37:50 +0000
commit39be5bc550f2e882b4754c7d98c906d9bde8b649 (patch)
tree5174a0e60c4faf3bace0cac50257f8a0818889b3 /tests
parentFix `get_pdu` asking every remote destination even after it finds an event (#... (diff)
downloadsynapse-39be5bc550f2e882b4754c7d98c906d9bde8b649.tar.xz
Make minor clarifications to the error messages given when we fail to join a room via any server. (#13160)
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/admin/test_room.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/rest/admin/test_room.py b/tests/rest/admin/test_room.py
index 2526136ff8..623883b53c 100644
--- a/tests/rest/admin/test_room.py
+++ b/tests/rest/admin/test_room.py
@@ -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:
         """