diff options
author | Jacek KuĊnierz <jacek.kusnierz@tum.de> | 2022-08-31 14:10:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 12:10:25 +0000 |
commit | 84ddcd7bbfe4100101741a408a91f283a8f742c7 (patch) | |
tree | fc2f6d6c2bc0fc52d7198902dbcaa05c74b0f1e8 /tests/rest/client/test_identity.py | |
parent | Remove cached wrap on `_get_joined_users_from_context` method (#13569) (diff) | |
download | synapse-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_identity.py')
-rw-r--r-- | tests/rest/client/test_identity.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/rest/client/test_identity.py b/tests/rest/client/test_identity.py index dc17c9d113..b0c8215744 100644 --- a/tests/rest/client/test_identity.py +++ b/tests/rest/client/test_identity.py @@ -25,7 +25,6 @@ from tests import unittest class IdentityTestCase(unittest.HomeserverTestCase): - servlets = [ synapse.rest.admin.register_servlets_for_client_rest_resource, room.register_servlets, @@ -33,7 +32,6 @@ class IdentityTestCase(unittest.HomeserverTestCase): ] def make_homeserver(self, reactor: MemoryReactor, clock: Clock) -> HomeServer: - config = self.default_config() config["enable_3pid_lookup"] = False self.hs = self.setup_test_homeserver(config=config) @@ -54,6 +52,7 @@ class IdentityTestCase(unittest.HomeserverTestCase): "id_server": "testis", "medium": "email", "address": "test@example.com", + "id_access_token": tok, } request_url = ("/rooms/%s/invite" % (room_id)).encode("ascii") channel = self.make_request( |