summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-02-20 11:41:40 +0000
committerErik Johnston <erik@matrix.org>2018-02-20 11:41:40 +0000
commite440e2845642a27f15d073aea58ce20b2785f66e (patch)
treed2c39acc089e3d493bef970140e51362847dc94a /tests/storage
parentBatch inserts into event_push_actions_staging (diff)
downloadsynapse-e440e2845642a27f15d073aea58ce20b2785f66e.tar.xz
Fix unit tests
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 d483e7cf9e..550f9ba662 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,