mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-18 22:07:50 -04:00
Fix tests
This commit is contained in:
parent
c7b99a1180
commit
476a89707a
2 changed files with 21 additions and 17 deletions
|
@ -160,7 +160,7 @@ class SlavedEventStoreTestCase(BaseSlavedStoreTestCase):
|
|||
self.check(
|
||||
"get_unread_event_push_actions_by_room_for_user",
|
||||
[ROOM_ID, USER_ID_2, event1.event_id],
|
||||
{"highlight_count": 0, "notify_count": 0},
|
||||
{"highlight_count": 0, "notify_count": 0, "unread_count": 0},
|
||||
)
|
||||
|
||||
self.persist(
|
||||
|
@ -173,7 +173,7 @@ class SlavedEventStoreTestCase(BaseSlavedStoreTestCase):
|
|||
self.check(
|
||||
"get_unread_event_push_actions_by_room_for_user",
|
||||
[ROOM_ID, USER_ID_2, event1.event_id],
|
||||
{"highlight_count": 0, "notify_count": 1},
|
||||
{"highlight_count": 0, "notify_count": 1, "unread_count": 1},
|
||||
)
|
||||
|
||||
self.persist(
|
||||
|
@ -188,7 +188,7 @@ class SlavedEventStoreTestCase(BaseSlavedStoreTestCase):
|
|||
self.check(
|
||||
"get_unread_event_push_actions_by_room_for_user",
|
||||
[ROOM_ID, USER_ID_2, event1.event_id],
|
||||
{"highlight_count": 1, "notify_count": 2},
|
||||
{"highlight_count": 1, "notify_count": 2, "unread_count": 2},
|
||||
)
|
||||
|
||||
def test_get_rooms_for_user_with_stream_ordering(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue