summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-17 15:37:05 +0100
committerErik Johnston <erik@matrix.org>2016-08-17 15:37:05 +0100
commit15d0b2dc19d016aa4be3aaa0aa759e09b6729e73 (patch)
tree40ba1579da663f7e2bdc90c8ace09f228159d510
parentChange get_users_in_room to using current state (diff)
downloadsynapse-github/erikj/appservice_state.tar.xz
-rw-r--r--tests/handlers/test_appservice.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/handlers/test_appservice.py b/tests/handlers/test_appservice.py
index 3116951472..f85785e66e 100644
--- a/tests/handlers/test_appservice.py
+++ b/tests/handlers/test_appservice.py
@@ -36,6 +36,8 @@ class AppServiceHandlerTestCase(unittest.TestCase):
         hs.get_clock.return_value = MockClock()
         self.handler = ApplicationServicesHandler(hs)
 
+        self.mock_store.get_state_for_event = Mock(return_value={})
+
     @defer.inlineCallbacks
     def test_notify_interested_services(self):
         interested_service = self._mkservice(is_interested=True)