mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-12 21:59:25 -05:00
Fix tests
This commit is contained in:
parent
4dae4a97ed
commit
e939f3bca6
@ -31,6 +31,7 @@ class AppServiceHandlerTestCase(unittest.TestCase):
|
||||
self.mock_scheduler = Mock()
|
||||
hs = Mock()
|
||||
hs.get_datastore = Mock(return_value=self.mock_store)
|
||||
self.mock_store.get_received_ts.return_value = 0
|
||||
hs.get_application_service_api = Mock(return_value=self.mock_as_api)
|
||||
hs.get_application_service_scheduler = Mock(return_value=self.mock_scheduler)
|
||||
hs.get_clock.return_value = MockClock()
|
||||
|
Loading…
Reference in New Issue
Block a user