summary refs log tree commit diff
path: root/tests/api/test_auth.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-07-10 16:26:49 +0100
committerGitHub <noreply@github.com>2019-07-10 16:26:49 +0100
commit953dbb79808c018fe34999a662f4c7cef8ea3721 (patch)
treef33198ce89b90b49ff991b1864fae46d7375d744 /tests/api/test_auth.py
parentDon't bundle aggregations when retrieving the original event (#5654) (diff)
downloadsynapse-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/api/test_auth.py')
-rw-r--r--tests/api/test_auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/test_auth.py b/tests/api/test_auth.py
index d4e75b5b2e..96b26f974b 100644
--- a/tests/api/test_auth.py
+++ b/tests/api/test_auth.py
@@ -325,7 +325,7 @@ class AuthTestCase(unittest.TestCase):
         unknown_threepid = {"medium": "email", "address": "unreserved@server.com"}
         self.hs.config.mau_limits_reserved_threepids = [threepid]
 
-        yield self.store.register(user_id="user1", token="123", password_hash=None)
+        yield self.store.register_user(user_id="user1", password_hash=None)
         with self.assertRaises(ResourceLimitError):
             yield self.auth.check_auth_blocking()