From 657d337e905381485f533625aa739af05cbcfa6d Mon Sep 17 00:00:00 2001 From: Jakub Porzuczek Date: Mon, 15 Jan 2024 19:49:06 +0100 Subject: [PATCH] update tests --- .../transaction/TransactionReviewViewModelTest.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/test/java/com/babylon/wallet/android/presentation/transaction/TransactionReviewViewModelTest.kt b/app/src/test/java/com/babylon/wallet/android/presentation/transaction/TransactionReviewViewModelTest.kt index 7b964e58df..cef0109beb 100644 --- a/app/src/test/java/com/babylon/wallet/android/presentation/transaction/TransactionReviewViewModelTest.kt +++ b/app/src/test/java/com/babylon/wallet/android/presentation/transaction/TransactionReviewViewModelTest.kt @@ -41,7 +41,6 @@ import com.babylon.wallet.android.presentation.transaction.submit.TransactionSub import com.babylon.wallet.android.utils.AppEventBus import com.babylon.wallet.android.utils.DeviceCapabilityHelper import com.babylon.wallet.android.utils.ExceptionMessageProvider -import com.babylon.wallet.android.utils.logNonFatalException import com.radixdlt.ret.Decimal import com.radixdlt.ret.ExecutionAnalysis import com.radixdlt.ret.FeeLocks @@ -74,9 +73,9 @@ import org.junit.Test import org.junit.rules.TestRule import org.junit.runner.Description import org.junit.runners.model.Statement -import org.mockito.kotlin.mock import rdx.works.core.displayableQuantity import rdx.works.core.identifiedArrayListOf +import rdx.works.core.logNonFatalException import rdx.works.core.ret.crypto.PrivateKey import rdx.works.core.toIdentifiedArrayList import rdx.works.profile.data.model.apppreferences.Radix @@ -167,7 +166,7 @@ internal class TransactionReviewViewModelTest : StateViewModelTest(ARG_TRANSACTION_REQUEST_ID) } returns sampleRequestId coEvery { getCurrentGatewayUseCase() } returns Radix.Gateway.nebunet