summary refs log tree commit diff
path: root/tests/rest/admin/test_room.py
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-09-14 17:07:04 +0300
committerGitHub <noreply@github.com>2020-09-14 10:07:04 -0400
commitb82d68c0bd952131836d00994c3c2a79b3d3a267 (patch)
tree080d97b8fbb005caf2572316b3e2f426dd2ec198 /tests/rest/admin/test_room.py
parentImprove SAML error messages (#8248) (diff)
downloadsynapse-b82d68c0bd952131836d00994c3c2a79b3d3a267.tar.xz
Add the topic and avatar to the room details admin API (#8305)
Diffstat (limited to 'tests/rest/admin/test_room.py')
-rw-r--r--tests/rest/admin/test_room.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rest/admin/test_room.py b/tests/rest/admin/test_room.py
index 408c568a27..6dfc709dc5 100644
--- a/tests/rest/admin/test_room.py
+++ b/tests/rest/admin/test_room.py
@@ -1174,6 +1174,8 @@ class RoomTestCase(unittest.HomeserverTestCase):
 
         self.assertIn("room_id", channel.json_body)
         self.assertIn("name", channel.json_body)
+        self.assertIn("topic", channel.json_body)
+        self.assertIn("avatar", channel.json_body)
         self.assertIn("canonical_alias", channel.json_body)
         self.assertIn("joined_members", channel.json_body)
         self.assertIn("joined_local_members", channel.json_body)