diff options
author | Erik Johnston <erik@matrix.org> | 2019-12-06 16:02:50 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-12-06 16:02:50 +0000 |
commit | 852f80d8a697c9d556b1b2641a2e4c1797cbbb46 (patch) | |
tree | c41b92be858914b5b38f637f638c55ec78117d6d /tests/storage/test_base.py | |
parent | Move start up DB checks to main data store. (diff) | |
download | synapse-852f80d8a697c9d556b1b2641a2e4c1797cbbb46.tar.xz |
Fixup tests
Diffstat (limited to 'tests/storage/test_base.py')
-rw-r--r-- | tests/storage/test_base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/storage/test_base.py b/tests/storage/test_base.py index 7915d48a9e..537cfe9f64 100644 --- a/tests/storage/test_base.py +++ b/tests/storage/test_base.py @@ -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): |