summary refs log tree commit diff
path: root/tests/rest/test_events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-12 10:42:27 +0000
committerErik Johnston <erik@matrix.org>2014-12-12 10:42:27 +0000
commitfa4b610ae383bdced11068832d880d14b1df576d (patch)
treeb105b44c4c1e317d45c06b9df5eb2a4e2a7ea267 /tests/rest/test_events.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into events_refactor (diff)
downloadsynapse-fa4b610ae383bdced11068832d880d14b1df576d.tar.xz
Fix stream test. Make sure we add join to auth_events for invitiations
Diffstat (limited to 'tests/rest/test_events.py')
-rw-r--r--tests/rest/test_events.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/rest/test_events.py b/tests/rest/test_events.py
index 4a3234c332..d3159e2cf4 100644
--- a/tests/rest/test_events.py
+++ b/tests/rest/test_events.py
@@ -113,9 +113,6 @@ class EventStreamPermissionsTestCase(RestTestCase):
     def setUp(self):
         self.mock_resource = MockHttpResource(prefix=PATH_PREFIX)
 
-        persistence_service = Mock(spec=["get_latest_pdus_in_context"])
-        persistence_service.get_latest_pdus_in_context.return_value = []
-
         self.mock_config = NonCallableMock()
         self.mock_config.signing_key = [MockKey()]
 
@@ -127,7 +124,6 @@ class EventStreamPermissionsTestCase(RestTestCase):
             db_pool=db_pool,
             http_client=None,
             replication_layer=Mock(),
-            persistence_service=persistence_service,
             clock=Mock(spec=[
                 "call_later",
                 "cancel_call_later",