Fix unread status in sent messages (#2048)

This commit is contained in:
Mikołaj Pich 2022-11-16 12:54:55 +01:00 committed by GitHub
parent 4d49e956b8
commit db4f172fb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 2451 additions and 10 deletions

View file

@ -193,7 +193,9 @@ class MessageRepositoryTest {
date = Instant.EPOCH,
folderId = 1,
unread = unread,
hasAttachments = false
readBy = 1,
unreadBy = 1,
hasAttachments = false,
).apply {
this.content = content
}
@ -209,6 +211,8 @@ class MessageRepositoryTest {
dateZoned = Instant.EPOCH.atZone(ZoneOffset.UTC),
folderId = 1,
unread = true,
readBy = 1,
unreadBy = 1,
hasAttachments = false,
)
}