summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2021-11-23 17:01:34 +0000
committerGitHub <noreply@github.com>2021-11-23 17:01:34 +0000
commitf25c75d376ff8517e3245e06abdacf813606bd1f (patch)
tree8a1b73633f902c750cfa8ec8e07cf2cbefebe133 /tests
parentAdd missing type hints to config base classes (#11377) (diff)
downloadsynapse-f25c75d376ff8517e3245e06abdacf813606bd1f.tar.xz
Rename unstable `access_token_lifetime` configuration option to `refreshable_access_token_lifetime` to make it clear it only concerns refreshable access tokens. (#11388)
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/client/test_auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/test_auth.py b/tests/rest/client/test_auth.py
index e2fcbdc63a..8552671431 100644
--- a/tests/rest/client/test_auth.py
+++ b/tests/rest/client/test_auth.py
@@ -598,7 +598,7 @@ class RefreshAuthTests(unittest.HomeserverTestCase):
             refresh_response.json_body["refresh_token"],
         )
 
-    @override_config({"access_token_lifetime": "1m"})
+    @override_config({"refreshable_access_token_lifetime": "1m"})
     def test_refresh_token_expiration(self):
         """
         The access token should have some time as specified in the config.