diff --git a/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/AccountScreenTest.kt b/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/AccountScreenTest.kt index 48ce7590a285..6cc2e56718e1 100644 --- a/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/AccountScreenTest.kt +++ b/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/AccountScreenTest.kt @@ -9,8 +9,6 @@ import io.mockk.MockKAnnotations import io.mockk.every import io.mockk.mockk import io.mockk.verify -import kotlinx.coroutines.flow.MutableSharedFlow -import kotlinx.coroutines.flow.asSharedFlow import net.mullvad.mullvadvpn.compose.createEdgeToEdgeComposeExtension import net.mullvad.mullvadvpn.compose.setContentWithTheme import net.mullvad.mullvadvpn.compose.state.PaymentState @@ -21,7 +19,6 @@ import net.mullvad.mullvadvpn.lib.payment.model.PaymentStatus import net.mullvad.mullvadvpn.lib.payment.model.ProductId import net.mullvad.mullvadvpn.lib.payment.model.ProductPrice import net.mullvad.mullvadvpn.viewmodel.AccountUiState -import net.mullvad.mullvadvpn.viewmodel.AccountViewModel import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension @@ -49,8 +46,6 @@ class AccountScreenTest { accountExpiry = null, showSitePayment = false ), - uiSideEffect = - MutableSharedFlow().asSharedFlow(), ) } @@ -73,8 +68,6 @@ class AccountScreenTest { accountNumber = DUMMY_ACCOUNT_NUMBER, accountExpiry = null, ), - uiSideEffect = - MutableSharedFlow().asSharedFlow(), onManageAccountClick = mockedClickHandler ) } @@ -100,8 +93,6 @@ class AccountScreenTest { accountExpiry = null, showSitePayment = false ), - uiSideEffect = - MutableSharedFlow().asSharedFlow(), onRedeemVoucherClick = mockedClickHandler ) } @@ -127,8 +118,6 @@ class AccountScreenTest { accountExpiry = null, showSitePayment = false ), - uiSideEffect = - MutableSharedFlow().asSharedFlow(), onLogoutClick = mockedClickHandler ) } @@ -149,8 +138,6 @@ class AccountScreenTest { state = AccountUiState.default() .copy(billingPaymentState = PaymentState.Error.Billing), - uiSideEffect = - MutableSharedFlow().asSharedFlow(), ) } @@ -173,8 +160,6 @@ class AccountScreenTest { billingPaymentState = PaymentState.PaymentAvailable(listOf(mockPaymentProduct)) ), - uiSideEffect = - MutableSharedFlow().asSharedFlow(), ) } @@ -197,8 +182,6 @@ class AccountScreenTest { billingPaymentState = PaymentState.PaymentAvailable(listOf(mockPaymentProduct)) ), - uiSideEffect = - MutableSharedFlow().asSharedFlow(), ) } @@ -222,8 +205,6 @@ class AccountScreenTest { billingPaymentState = PaymentState.PaymentAvailable(listOf(mockPaymentProduct)) ), - uiSideEffect = - MutableSharedFlow().asSharedFlow(), navigateToVerificationPendingDialog = mockNavigateToVerificationPending ) } @@ -250,8 +231,6 @@ class AccountScreenTest { billingPaymentState = PaymentState.PaymentAvailable(listOf(mockPaymentProduct)) ), - uiSideEffect = - MutableSharedFlow().asSharedFlow(), ) } @@ -277,8 +256,6 @@ class AccountScreenTest { PaymentState.PaymentAvailable(listOf(mockPaymentProduct)) ), onPurchaseBillingProductClick = clickHandler, - uiSideEffect = - MutableSharedFlow().asSharedFlow(), ) }