Pinned event : add some tests

This commit is contained in:
ganfra 2024-07-30 16:38:11 +02:00
parent 5e47c98699
commit 66e06d7d1c
4 changed files with 231 additions and 47 deletions

View file

@ -144,13 +144,13 @@ fun aUserEventPermissions(
canRedactOther: Boolean = false,
canSendMessage: Boolean = true,
canSendReaction: Boolean = true,
canPin: Boolean = false,
canPinUnpin: Boolean = false,
) = UserEventPermissions(
canRedactOwn = canRedactOwn,
canRedactOther = canRedactOther,
canSendMessage = canSendMessage,
canSendReaction = canSendReaction,
canPinUnpin = canPin,
canPinUnpin = canPinUnpin,
)
fun aReactionSummaryState(