diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-07-10 16:26:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-10 16:26:49 +0100 |
commit | 953dbb79808c018fe34999a662f4c7cef8ea3721 (patch) | |
tree | f33198ce89b90b49ff991b1864fae46d7375d744 /tests/handlers/test_register.py | |
parent | Don't bundle aggregations when retrieving the original event (#5654) (diff) | |
download | synapse-953dbb79808c018fe34999a662f4c7cef8ea3721.tar.xz |
Remove access-token support from RegistrationStore.register (#5642)
The 'token' param is no longer used anywhere except the tests, so let's kill that off too.
Diffstat (limited to 'tests/handlers/test_register.py')
-rw-r--r-- | tests/handlers/test_register.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/handlers/test_register.py b/tests/handlers/test_register.py index 8197f26d4f..1b7e1dacee 100644 --- a/tests/handlers/test_register.py +++ b/tests/handlers/test_register.py @@ -77,11 +77,7 @@ class RegistrationTestCase(unittest.HomeserverTestCase): store = self.hs.get_datastore() frank = UserID.from_string("@frank:test") self.get_success( - store.register( - user_id=frank.to_string(), - token="jkv;g498752-43gj['eamb!-5", - password_hash=None, - ) + store.register_user(user_id=frank.to_string(), password_hash=None) ) local_part = frank.localpart user_id = frank.to_string() |