diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-03-17 07:37:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-17 07:37:04 -0400 |
commit | 60724c46b7dc5300243fd97d5a485564b3e00afe (patch) | |
tree | a22f3e764cdaafa76d6414dd772ec64d8d279afc /tests/rest/admin | |
parent | Revert "Add options to disable setting profile info for prevent changes. (#70... (diff) | |
download | synapse-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.py | 7 |
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, |