summary refs log tree commit diff
path: root/tests/handlers/test_appservice.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-04-11 14:37:11 +0100
committerErik Johnston <erik@matrix.org>2018-04-11 14:37:11 +0100
commite939f3bca6d73bc4ec6450aeb41f5e121a29a662 (patch)
treeba73d25ffa5cc6fddb27369e0c7d81312fa4465f /tests/handlers/test_appservice.py
parentTrack last processed event received_ts (diff)
downloadsynapse-e939f3bca6d73bc4ec6450aeb41f5e121a29a662.tar.xz
Fix tests
Diffstat (limited to '')
-rw-r--r--tests/handlers/test_appservice.py1
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()