mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 23:13:50 -05:00
Fix tests
This commit is contained in:
parent
a955cbfa49
commit
0487c9441f
3 changed files with 12 additions and 5 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue