summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-10-13 23:14:35 +0100
committerRichard van der Hoff <richard@matrix.org>2020-10-13 23:58:48 +0100
commita34b17e492129adba260915de401ab1cbabf6215 (patch)
tree489ba3579833516070c8897e191251a9fb29692c /tests/handlers
parentRemove redundant `token_id` parameter to create_event (diff)
downloadsynapse-a34b17e492129adba260915de401ab1cbabf6215.tar.xz
Simplify `_locally_reject_invite`
Update `EventCreationHandler.create_event` to accept an auth_events param, and
use it in `_locally_reject_invite` instead of reinventing the wheel.
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_presence.py b/tests/handlers/test_presence.py
index 914c82e7a8..8ed67640f8 100644
--- a/tests/handlers/test_presence.py
+++ b/tests/handlers/test_presence.py
@@ -615,7 +615,7 @@ class PresenceJoinTestCase(unittest.HomeserverTestCase):
             self.store.get_latest_event_ids_in_room(room_id)
         )
 
-        event = self.get_success(builder.build(prev_event_ids))
+        event = self.get_success(builder.build(prev_event_ids, None))
 
         self.get_success(self.federation_handler.on_receive_pdu(hostname, event))