summary refs log tree commit diff
path: root/tests/rest/admin
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-03-17 07:37:04 -0400
committerGitHub <noreply@github.com>2020-03-17 07:37:04 -0400
commit60724c46b7dc5300243fd97d5a485564b3e00afe (patch)
treea22f3e764cdaafa76d6414dd772ec64d8d279afc /tests/rest/admin
parentRevert "Add options to disable setting profile info for prevent changes. (#70... (diff)
downloadsynapse-60724c46b7dc5300243fd97d5a485564b3e00afe.tar.xz
Remove special casing of `m.room.aliases` events (#7034)
Diffstat (limited to 'tests/rest/admin')
-rw-r--r--tests/rest/admin/test_admin.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rest/admin/test_admin.py b/tests/rest/admin/test_admin.py
index e5984aaad8..0342aed416 100644
--- a/tests/rest/admin/test_admin.py
+++ b/tests/rest/admin/test_admin.py
@@ -870,6 +870,13 @@ class RoomTestCase(unittest.HomeserverTestCase):
         # Set this new alias as the canonical alias for this room
         self.helper.send_state(
             room_id,
+            "m.room.aliases",
+            {"aliases": [test_alias]},
+            tok=self.admin_user_tok,
+            state_key="test",
+        )
+        self.helper.send_state(
+            room_id,
             "m.room.canonical_alias",
             {"alias": test_alias},
             tok=self.admin_user_tok,