Give 0 has default value for fixtures creators.
Also increases the readability of tests.
This commit is contained in:
parent
c4f72ecfbc
commit
17f23304d0
3 changed files with 32 additions and 18 deletions
|
|
@ -37,8 +37,8 @@ fun aRoomSummaryFilled(
|
|||
isDirect: Boolean = false,
|
||||
avatarUrl: String? = null,
|
||||
lastMessage: RoomMessage? = aRoomMessage(),
|
||||
numUnreadMentions: Int = 1,
|
||||
numUnreadMessages: Int = 2,
|
||||
numUnreadMentions: Int = 0,
|
||||
numUnreadMessages: Int = 0,
|
||||
notificationMode: RoomNotificationMode? = null,
|
||||
) = RoomSummary.Filled(
|
||||
aRoomSummaryDetails(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue