diff --git a/app/src/main/kotlin/com/wire/android/ui/home/conversationslist/common/ConversationList.kt b/app/src/main/kotlin/com/wire/android/ui/home/conversationslist/common/ConversationList.kt index ea9cb4bc315..e57d257d11d 100644 --- a/app/src/main/kotlin/com/wire/android/ui/home/conversationslist/common/ConversationList.kt +++ b/app/src/main/kotlin/com/wire/android/ui/home/conversationslist/common/ConversationList.kt @@ -58,7 +58,7 @@ import kotlinx.collections.immutable.ImmutableMap import kotlinx.collections.immutable.toImmutableList import kotlinx.coroutines.flow.flowOf -@Suppress("LongParameterList") +@Suppress("LongParameterList", "CyclomaticComplexMethod") @Composable fun ConversationList( lazyPagingConversations: LazyPagingItems, diff --git a/app/src/test/kotlin/com/wire/android/ui/home/conversationslist/ConversationListViewModelTest.kt b/app/src/test/kotlin/com/wire/android/ui/home/conversationslist/ConversationListViewModelTest.kt index 84cce194cfd..b1806e66a57 100644 --- a/app/src/test/kotlin/com/wire/android/ui/home/conversationslist/ConversationListViewModelTest.kt +++ b/app/src/test/kotlin/com/wire/android/ui/home/conversationslist/ConversationListViewModelTest.kt @@ -20,7 +20,6 @@ package com.wire.android.ui.home.conversationslist import androidx.paging.PagingData -import app.cash.turbine.test import com.wire.android.config.CoroutineTestExtension import com.wire.android.config.TestDispatcherProvider import com.wire.android.config.mockUri @@ -55,7 +54,6 @@ import io.mockk.coVerify import io.mockk.impl.annotations.MockK import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.flow.flowOf -import kotlinx.coroutines.test.advanceUntilIdle import kotlinx.coroutines.test.runTest import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith @@ -205,7 +203,8 @@ class ConversationListViewModelTest { private lateinit var updateConversationArchivedStatus: UpdateConversationArchivedStatusUseCase @MockK - private lateinit var observeConversationListDetailsWithEventsUseCase: ObserveConversationListDetailsWithEventsUseCase + private lateinit var observeConversationListDetailsWithEventsUseCase: + ObserveConversationListDetailsWithEventsUseCase @MockK private lateinit var wireSessionImageLoader: WireSessionImageLoader