summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-10-15 10:20:19 +0100
committerGitHub <noreply@github.com>2020-10-15 10:20:19 +0100
commit4433d0151965b0c8f717ac609a6b3712ad7ef8b7 (patch)
tree0698fb60715b888f838932a0410590e6ec138e83 /tests/storage
parentUse autocommit mode for single statement DB functions. (#8542) (diff)
parentchangelog (diff)
downloadsynapse-4433d0151965b0c8f717ac609a6b3712ad7ef8b7.tar.xz
Merge pull request #8537 from matrix-org/rav/simplify_locally_reject_invite
Simplify `_locally_reject_invite`
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_redaction.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/storage/test_redaction.py b/tests/storage/test_redaction.py
index 1ea35d60c1..d4f9e809db 100644
--- a/tests/storage/test_redaction.py
+++ b/tests/storage/test_redaction.py
@@ -236,9 +236,9 @@ class RedactionTestCase(unittest.HomeserverTestCase):
                 self._event_id = event_id
 
             @defer.inlineCallbacks
-            def build(self, prev_event_ids):
+            def build(self, prev_event_ids, auth_event_ids):
                 built_event = yield defer.ensureDeferred(
-                    self._base_builder.build(prev_event_ids)
+                    self._base_builder.build(prev_event_ids, auth_event_ids)
                 )
 
                 built_event._event_id = self._event_id