diff options
author | Erik Johnston <erikj@jki.re> | 2018-05-17 12:01:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-17 12:01:21 +0100 |
commit | f7906203f64b6fd495302991c67241863f65d587 (patch) | |
tree | 102d041680679a5e07d1e087aeac3a20ae4b10af /tests | |
parent | Merge branch 'master' into develop (diff) | |
parent | Use stream rather depth ordering for push actions (diff) | |
download | synapse-f7906203f64b6fd495302991c67241863f65d587.tar.xz |
Merge pull request #3212 from matrix-org/erikj/epa_stream
Use stream rather depth ordering for push actions
Diffstat (limited to 'tests')
-rw-r--r-- | tests/storage/test_event_push_actions.py | 4 |
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) |