diff options
author | Erik Johnston <erik@matrix.org> | 2018-04-11 14:37:11 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-04-11 14:37:11 +0100 |
commit | e939f3bca6d73bc4ec6450aeb41f5e121a29a662 (patch) | |
tree | ba73d25ffa5cc6fddb27369e0c7d81312fa4465f /tests | |
parent | Track last processed event received_ts (diff) | |
download | synapse-e939f3bca6d73bc4ec6450aeb41f5e121a29a662.tar.xz |
Fix tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/handlers/test_appservice.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/handlers/test_appservice.py b/tests/handlers/test_appservice.py index a667fb6f0e..b753455943 100644 --- a/tests/handlers/test_appservice.py +++ b/tests/handlers/test_appservice.py @@ -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() |