mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 04:04:54 -04:00
Fixup tests
This commit is contained in:
parent
75f87450d8
commit
852f80d8a6
6 changed files with 20 additions and 23 deletions
|
@ -21,6 +21,7 @@ from mock import Mock
|
|||
from twisted.internet import defer
|
||||
|
||||
from synapse.storage._base import SQLBaseStore
|
||||
from synapse.storage.database import Database
|
||||
from synapse.storage.engines import create_engine
|
||||
|
||||
from tests import unittest
|
||||
|
@ -59,7 +60,7 @@ class SQLBaseStoreTestCase(unittest.TestCase):
|
|||
"test", db_pool=self.db_pool, config=config, database_engine=fake_engine
|
||||
)
|
||||
|
||||
self.datastore = SQLBaseStore(None, hs)
|
||||
self.datastore = SQLBaseStore(Database(hs), None, hs)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def test_insert_1col(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue