From b2555d1bc86a1bd237c10dca7b25104088088311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Zag=C3=B3rski?= Date: Fri, 6 Dec 2024 12:20:14 +0100 Subject: [PATCH] chore: Update kalium after removing self user creator [WPB-11559] --- .../com/wire/android/framework/TestConversationDetails.kt | 1 - .../conversation/ConversationSheetContentTest.kt | 6 +++--- .../composer/MessageComposerViewModelArrangement.kt | 1 - .../details/GroupConversationDetailsViewModelTest.kt | 3 +-- kalium | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/app/src/test/kotlin/com/wire/android/framework/TestConversationDetails.kt b/app/src/test/kotlin/com/wire/android/framework/TestConversationDetails.kt index 153f7b345de..9a3259df8cc 100644 --- a/app/src/test/kotlin/com/wire/android/framework/TestConversationDetails.kt +++ b/app/src/test/kotlin/com/wire/android/framework/TestConversationDetails.kt @@ -45,7 +45,6 @@ object TestConversationDetails { val GROUP = ConversationDetails.Group( TestConversation.ONE_ON_ONE, - isSelfUserCreator = true, isSelfUserMember = true, selfRole = Conversation.Member.Role.Member ) diff --git a/app/src/test/kotlin/com/wire/android/ui/common/bottomsheet/conversation/ConversationSheetContentTest.kt b/app/src/test/kotlin/com/wire/android/ui/common/bottomsheet/conversation/ConversationSheetContentTest.kt index 9b9d8d5b273..a95c20a4985 100644 --- a/app/src/test/kotlin/com/wire/android/ui/common/bottomsheet/conversation/ConversationSheetContentTest.kt +++ b/app/src/test/kotlin/com/wire/android/ui/common/bottomsheet/conversation/ConversationSheetContentTest.kt @@ -34,7 +34,7 @@ class ConversationSheetContentTest { title = "", conversationId = details.conversation.id, mutingConversationState = details.conversation.mutedStatus, - conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, details.isSelfUserCreator), + conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, false), selfRole = Conversation.Member.Role.Member, isTeamConversation = details.conversation.isTeamGroup(), isArchived = false, @@ -57,7 +57,7 @@ class ConversationSheetContentTest { title = "", conversationId = details.conversation.id, mutingConversationState = details.conversation.mutedStatus, - conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, details.isSelfUserCreator), + conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, false), selfRole = Conversation.Member.Role.Member, isTeamConversation = details.conversation.isTeamGroup(), isArchived = false, @@ -80,7 +80,7 @@ class ConversationSheetContentTest { title = "notEmpty", conversationId = details.conversation.id, mutingConversationState = details.conversation.mutedStatus, - conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, details.isSelfUserCreator), + conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, false), selfRole = Conversation.Member.Role.Member, isTeamConversation = details.conversation.isTeamGroup(), isArchived = false, diff --git a/app/src/test/kotlin/com/wire/android/ui/home/conversations/composer/MessageComposerViewModelArrangement.kt b/app/src/test/kotlin/com/wire/android/ui/home/conversations/composer/MessageComposerViewModelArrangement.kt index 4387a91ec30..231254312a6 100644 --- a/app/src/test/kotlin/com/wire/android/ui/home/conversations/composer/MessageComposerViewModelArrangement.kt +++ b/app/src/test/kotlin/com/wire/android/ui/home/conversations/composer/MessageComposerViewModelArrangement.kt @@ -213,7 +213,6 @@ internal fun mockConversationDetailsGroup( conversation = TestConversation.GROUP() .copy(name = conversationName, id = mockedConversationId), hasOngoingCall = false, - isSelfUserCreator = true, isSelfUserMember = true, selfRole = Conversation.Member.Role.Member ) diff --git a/app/src/test/kotlin/com/wire/android/ui/home/conversations/details/GroupConversationDetailsViewModelTest.kt b/app/src/test/kotlin/com/wire/android/ui/home/conversations/details/GroupConversationDetailsViewModelTest.kt index d9df11671fb..cd2a5611e20 100644 --- a/app/src/test/kotlin/com/wire/android/ui/home/conversations/details/GroupConversationDetailsViewModelTest.kt +++ b/app/src/test/kotlin/com/wire/android/ui/home/conversations/details/GroupConversationDetailsViewModelTest.kt @@ -444,7 +444,7 @@ class GroupConversationDetailsViewModelTest { title = details.conversation.name.orEmpty(), conversationId = details.conversation.id, mutingConversationState = details.conversation.mutedStatus, - conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, details.isSelfUserCreator), + conversationTypeDetail = ConversationTypeDetail.Group(details.conversation.id, false), selfRole = Conversation.Member.Role.Member, isTeamConversation = details.conversation.isTeamGroup(), isArchived = false, @@ -683,7 +683,6 @@ class GroupConversationDetailsViewModelTest { legalHoldStatus = Conversation.LegalHoldStatus.ENABLED ), hasOngoingCall = false, - isSelfUserCreator = false, isSelfUserMember = true, selfRole = Conversation.Member.Role.Member ) diff --git a/kalium b/kalium index b391c817503..06c284a4df3 160000 --- a/kalium +++ b/kalium @@ -1 +1 @@ -Subproject commit b391c8175037b57766789f353452bd45abe364a5 +Subproject commit 06c284a4df3d5024f634a960978ac3f61367d98e