summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-15 15:38:29 +0100
committerKegan Dougal <kegan@matrix.org>2014-09-15 15:38:29 +0100
commit2c00e1ecd9774463d687559d5df38b2a76340b32 (patch)
tree2da20ea3c6a7b030568244ec8d876f9389b601fb /tests
parentMerge branch 'develop' of github.com:matrix-org/synapse into registration-api... (diff)
downloadsynapse-2c00e1ecd9774463d687559d5df38b2a76340b32.tar.xz
Be consistent when associating keys with login types for registration/login.
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/utils.py b/tests/rest/utils.py
index 25ed1388cf..579441fb4a 100644
--- a/tests/rest/utils.py
+++ b/tests/rest/utils.py
@@ -99,7 +99,7 @@ class RestTestCase(unittest.TestCase):
             "POST",
             "/register",
             json.dumps({
-                "user_id": user_id,
+                "user": user_id,
                 "password": "test",
                 "type": "m.login.password"
             }))