mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 18:34:11 -04:00
Fixup tests
This commit is contained in:
parent
75f87450d8
commit
852f80d8a6
6 changed files with 20 additions and 23 deletions
|
@ -20,6 +20,7 @@ from synapse.replication.tcp.client import (
|
|||
ReplicationClientHandler,
|
||||
)
|
||||
from synapse.replication.tcp.resource import ReplicationStreamProtocolFactory
|
||||
from synapse.storage.database import Database
|
||||
|
||||
from tests import unittest
|
||||
from tests.server import FakeTransport
|
||||
|
@ -42,7 +43,9 @@ class BaseSlavedStoreTestCase(unittest.HomeserverTestCase):
|
|||
|
||||
self.master_store = self.hs.get_datastore()
|
||||
self.storage = hs.get_storage()
|
||||
self.slaved_store = self.STORE_TYPE(self.hs.get_db_conn(), self.hs)
|
||||
self.slaved_store = self.STORE_TYPE(
|
||||
Database(hs), self.hs.get_db_conn(), self.hs
|
||||
)
|
||||
self.event_id = 0
|
||||
|
||||
server_factory = ReplicationStreamProtocolFactory(self.hs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue