summary refs log tree commit diff
path: root/tests/rest/admin
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-01-30 17:20:55 +0000
committerGitHub <noreply@github.com>2020-01-30 17:20:55 +0000
commit184303b8650a90256f84bc9801b749a5b81b6d4b (patch)
tree85a633efdad219b72795afda9ac584f69914bcdc /tests/rest/admin
parentBackgroud update to clean out rooms from current state (#6802) (diff)
downloadsynapse-184303b8650a90256f84bc9801b749a5b81b6d4b.tar.xz
MSC2260: Block direct sends of m.room.aliases events (#6794)
as per MSC2260

Diffstat (limited to 'tests/rest/admin')
-rw-r--r--tests/rest/admin/test_admin.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/rest/admin/test_admin.py b/tests/rest/admin/test_admin.py
index 0342aed416..e5984aaad8 100644
--- a/tests/rest/admin/test_admin.py
+++ b/tests/rest/admin/test_admin.py
@@ -870,13 +870,6 @@ 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,