diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-27 17:25:07 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-27 17:33:13 +0000 |
commit | 0487c9441f1439bd02cb4d107a4fcacfe5dbe75d (patch) | |
tree | 79a2c5293c0c92df36b8a56fbd9bafe954463dec /tests/storage/test_registration.py | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/setup (diff) | |
download | synapse-0487c9441f1439bd02cb4d107a4fcacfe5dbe75d.tar.xz |
Fix tests
Diffstat (limited to 'tests/storage/test_registration.py')
-rw-r--r-- | tests/storage/test_registration.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/storage/test_registration.py b/tests/storage/test_registration.py index a35efcc71e..7b3b4c13bc 100644 --- a/tests/storage/test_registration.py +++ b/tests/storage/test_registration.py @@ -18,7 +18,6 @@ from tests import unittest from twisted.internet import defer from synapse.api.errors import StoreError -from synapse.storage.registration import RegistrationStore from synapse.util import stringutils from tests.utils import setup_test_homeserver @@ -31,7 +30,7 @@ class RegistrationStoreTestCase(unittest.TestCase): hs = yield setup_test_homeserver() self.db_pool = hs.get_db_pool() - self.store = RegistrationStore(hs) + self.store = hs.get_datastore() self.user_id = "@my-user:test" self.tokens = ["AbCdEfGhIjKlMnOpQrStUvWxYz", |