diff --git a/tests/rest/client/test_login_token_request.py b/tests/rest/client/test_login_token_request.py
index f05e619aa8..3ee8e98c6e 100644
--- a/tests/rest/client/test_login_token_request.py
+++ b/tests/rest/client/test_login_token_request.py
@@ -132,37 +132,3 @@ class LoginTokenRequestServletTestCase(unittest.HomeserverTestCase):
channel = self.make_request("POST", GET_TOKEN_ENDPOINT, {}, access_token=token)
self.assertEqual(channel.code, 200)
self.assertEqual(channel.json_body["expires_in_ms"], 15000)
-
- @override_config(
- {
- "login_via_existing_session": {
- "enabled": True,
- "require_ui_auth": False,
- "token_timeout": "15s",
- }
- }
- )
- def test_unstable_support(self) -> None:
- # TODO: remove support for unstable MSC3882 is no longer needed
-
- # check feature is advertised in versions response:
- channel = self.make_request(
- "GET", "/_matrix/client/versions", {}, access_token=None
- )
- self.assertEqual(channel.code, 200)
- self.assertEqual(
- channel.json_body["unstable_features"]["org.matrix.msc3882"], True
- )
-
- self.register_user(self.user, self.password)
- token = self.login(self.user, self.password)
-
- # check feature is available via the unstable endpoint and returns an expires_in value in seconds
- channel = self.make_request(
- "POST",
- "/_matrix/client/unstable/org.matrix.msc3882/login/token",
- {},
- access_token=token,
- )
- self.assertEqual(channel.code, 200)
- self.assertEqual(channel.json_body["expires_in"], 15)
|