summary refs log tree commit diff
path: root/tests/rest/client/test_shadow_banned.py
diff options
context:
space:
mode:
authorJacek KuĊ›nierz <jacek.kusnierz@tum.de>2022-08-31 14:10:25 +0200
committerGitHub <noreply@github.com>2022-08-31 12:10:25 +0000
commit84ddcd7bbfe4100101741a408a91f283a8f742c7 (patch)
treefc2f6d6c2bc0fc52d7198902dbcaa05c74b0f1e8 /tests/rest/client/test_shadow_banned.py
parentRemove cached wrap on `_get_joined_users_from_context` method (#13569) (diff)
downloadsynapse-84ddcd7bbfe4100101741a408a91f283a8f742c7.tar.xz
Drop support for calling `/_matrix/client/v3/rooms/{roomId}/invite` without an `id_access_token` (#13241)
Fixes #13206

Signed-off-by: Jacek Kusnierz jacek.kusnierz@tum.de
Diffstat (limited to 'tests/rest/client/test_shadow_banned.py')
-rw-r--r--tests/rest/client/test_shadow_banned.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/rest/client/test_shadow_banned.py b/tests/rest/client/test_shadow_banned.py

index c50f034b34..c807a37bc2 100644 --- a/tests/rest/client/test_shadow_banned.py +++ b/tests/rest/client/test_shadow_banned.py
@@ -97,7 +97,12 @@ class RoomTestCase(_ShadowBannedBase): channel = self.make_request( "POST", "/rooms/%s/invite" % (room_id,), - {"id_server": "test", "medium": "email", "address": "test@test.test"}, + { + "id_server": "test", + "medium": "email", + "address": "test@test.test", + "id_access_token": "anytoken", + }, access_token=self.banned_access_token, ) self.assertEqual(200, channel.code, channel.result)