summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-05-11 15:30:11 +0100
committerErik Johnston <erik@matrix.org>2018-05-11 15:30:11 +0100
commit6406b70aebd61ecddf61e45196d7cb13428b509e (patch)
treec5787b2d03cfca9cda557a501473d34f2600587d /tests
parentMerge pull request #3199 from matrix-org/erikj/pagination_sync (diff)
downloadsynapse-6406b70aebd61ecddf61e45196d7cb13428b509e.tar.xz
Use stream rather depth ordering for push actions
This simplifies things as it is, but will also allow us to change the
way we traverse topologically without having to update the way push
actions work.
Diffstat (limited to 'tests')
-rw-r--r--tests/storage/test_event_push_actions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/storage/test_event_push_actions.py b/tests/storage/test_event_push_actions.py
index 9962ce8a5d..3cbf9a78b1 100644
--- a/tests/storage/test_event_push_actions.py
+++ b/tests/storage/test_event_push_actions.py
@@ -55,7 +55,7 @@ class EventPushActionsStoreTestCase(tests.unittest.TestCase):
         def _assert_counts(noitf_count, highlight_count):
             counts = yield self.store.runInteraction(
                 "", self.store._get_unread_counts_by_pos_txn,
-                room_id, user_id, 0, 0
+                room_id, user_id, 0
             )
             self.assertEquals(
                 counts,
@@ -86,7 +86,7 @@ class EventPushActionsStoreTestCase(tests.unittest.TestCase):
         def _mark_read(stream, depth):
             return self.store.runInteraction(
                 "", self.store._remove_old_push_actions_before_txn,
-                room_id, user_id, depth, stream
+                room_id, user_id, stream
             )
 
         yield _assert_counts(0, 0)