summary refs log tree commit diff
path: root/tests/rest
diff options
context:
space:
mode:
authorRishabh Arya <rishabharya32@gmail.com>2021-02-18 19:48:14 +0530
committerGitHub <noreply@github.com>2021-02-18 09:18:14 -0500
commite17553e185aa6054b229524ac04a2743fe8c6fa9 (patch)
tree73134fca53629d233d3746c553cdf20edb675e2a /tests/rest
parentDeprecate old admin API `GET /_synapse/admin/v1/users/<user_id>` (#9429) (diff)
downloadsynapse-e17553e185aa6054b229524ac04a2743fe8c6fa9.tar.xz
Parse ui_auth.session_timeout as a duration (instead of treating it as ms) (#9426)
Diffstat (limited to 'tests/rest')
-rw-r--r--tests/rest/client/v2_alpha/test_auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/v2_alpha/test_auth.py b/tests/rest/client/v2_alpha/test_auth.py
index 501f09203f..c26ad824f7 100644
--- a/tests/rest/client/v2_alpha/test_auth.py
+++ b/tests/rest/client/v2_alpha/test_auth.py
@@ -343,7 +343,7 @@ class UIAuthTests(unittest.HomeserverTestCase):
             },
         )
 
-    @unittest.override_config({"ui_auth": {"session_timeout": 5 * 1000}})
+    @unittest.override_config({"ui_auth": {"session_timeout": "5s"}})
     def test_can_reuse_session(self):
         """
         The session can be reused if configured.