Test hotfixes

This commit is contained in:
Milan Cerovsky 2024-08-23 06:33:32 +02:00
parent fd7f6f2e6e
commit 3411a4c5c5
2 changed files with 5 additions and 2 deletions

View File

@ -10,6 +10,7 @@ import cash.z.ecc.android.sdk.Synchronizer
import cash.z.ecc.android.sdk.model.PercentDecimal import cash.z.ecc.android.sdk.model.PercentDecimal
import co.electriccoin.zcash.test.UiTestPrerequisites import co.electriccoin.zcash.test.UiTestPrerequisites
import co.electriccoin.zcash.ui.common.model.WalletSnapshot import co.electriccoin.zcash.ui.common.model.WalletSnapshot
import co.electriccoin.zcash.ui.design.theme.ZcashTheme
import co.electriccoin.zcash.ui.fixture.WalletSnapshotFixture import co.electriccoin.zcash.ui.fixture.WalletSnapshotFixture
import co.electriccoin.zcash.ui.screen.balances.BalancesTag import co.electriccoin.zcash.ui.screen.balances.BalancesTag
import co.electriccoin.zcash.ui.screen.balances.BalancesTestSetup import co.electriccoin.zcash.ui.screen.balances.BalancesTestSetup
@ -42,7 +43,9 @@ class BalancesViewIntegrationTest : UiTestPrerequisites() {
val testSetup = newTestSetup(walletSnapshot) val testSetup = newTestSetup(walletSnapshot)
restorationTester.setContent { restorationTester.setContent {
testSetup.DefaultContent() ZcashTheme {
testSetup.DefaultContent()
}
} }
assertNotEquals(WalletSnapshotFixture.STATUS, testSetup.getWalletSnapshot().status) assertNotEquals(WalletSnapshotFixture.STATUS, testSetup.getWalletSnapshot().status)

View File

@ -130,7 +130,7 @@ class SendViewTestSetup(
monetarySeparators = monetarySeparators, monetarySeparators = monetarySeparators,
value = "", value = "",
fiatValue = "", fiatValue = "",
isTransparentRecipient = false, isTransparentOrTextRecipient = false,
exchangeRateState = ExchangeRateState.OptedOut exchangeRateState = ExchangeRateState.OptedOut
), ),
setMemoState = {}, setMemoState = {},