summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-02-26 14:45:40 +0000
committerGitHub <noreply@github.com>2018-02-26 14:45:40 +0000
commite5b4a208ced9df795e1944cda79846690530eac7 (patch)
tree5bd57b753d84383966b9f14346ade11faae9e168 /tests/storage
parentMerge pull request #2894 from matrix-org/erikj/handle_unpersisted_events_push (diff)
parentUpdate comments (diff)
downloadsynapse-e5b4a208ced9df795e1944cda79846690530eac7.tar.xz
Merge pull request #2892 from matrix-org/erikj/batch_inserts_push_actions
Batch inserts into event_push_actions_staging
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_event_push_actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_event_push_actions.py b/tests/storage/test_event_push_actions.py
index dc90e5c243..6c1aad149b 100644
--- a/tests/storage/test_event_push_actions.py
+++ b/tests/storage/test_event_push_actions.py
@@ -71,7 +71,7 @@ class EventPushActionsStoreTestCase(tests.unittest.TestCase):
             event.depth = stream
 
             yield self.store.add_push_actions_to_staging(
-                event.event_id, user_id, action,
+                event.event_id, {user_id: action},
             )
             yield self.store.runInteraction(
                 "", self.store._set_push_actions_for_event_and_users_txn,