mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Rust sdk : fix tests after api breaks
This commit is contained in:
+1
-1
@@ -246,7 +246,7 @@ private fun aRustRoomInfo(
|
|||||||
userPowerLevels = userPowerLevels,
|
userPowerLevels = userPowerLevels,
|
||||||
highlightCount = highlightCount,
|
highlightCount = highlightCount,
|
||||||
notificationCount = notificationCount,
|
notificationCount = notificationCount,
|
||||||
userDefinedNotificationMode = userDefinedNotificationMode,
|
cachedUserDefinedNotificationMode = userDefinedNotificationMode,
|
||||||
hasRoomCall = hasRoomCall,
|
hasRoomCall = hasRoomCall,
|
||||||
activeRoomCallParticipants = activeRoomCallParticipants,
|
activeRoomCallParticipants = activeRoomCallParticipants,
|
||||||
isMarkedUnread = isMarkedUnread,
|
isMarkedUnread = isMarkedUnread,
|
||||||
|
|||||||
+1
-1
@@ -598,7 +598,7 @@ class DefaultNotifiableEventResolverTest {
|
|||||||
testNull(NotificationContent.MessageLike.KeyVerificationMac)
|
testNull(NotificationContent.MessageLike.KeyVerificationMac)
|
||||||
testNull(NotificationContent.MessageLike.KeyVerificationDone)
|
testNull(NotificationContent.MessageLike.KeyVerificationDone)
|
||||||
testNull(NotificationContent.MessageLike.ReactionContent(relatedEventId = AN_EVENT_ID_2.value))
|
testNull(NotificationContent.MessageLike.ReactionContent(relatedEventId = AN_EVENT_ID_2.value))
|
||||||
testNull(NotificationContent.MessageLike.RoomRedaction)
|
testNull(NotificationContent.MessageLike.RoomRedaction(redactedEventId = AN_EVENT_ID_2.value, reason = null))
|
||||||
testNull(NotificationContent.MessageLike.Sticker)
|
testNull(NotificationContent.MessageLike.Sticker)
|
||||||
testNull(NotificationContent.StateEvent.PolicyRuleRoom)
|
testNull(NotificationContent.StateEvent.PolicyRuleRoom)
|
||||||
testNull(NotificationContent.StateEvent.PolicyRuleServer)
|
testNull(NotificationContent.StateEvent.PolicyRuleServer)
|
||||||
|
|||||||
Reference in New Issue
Block a user