Test hotfixes
This commit is contained in:
parent
fd7f6f2e6e
commit
3411a4c5c5
|
@ -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)
|
||||||
|
|
|
@ -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 = {},
|
||||||
|
|
Loading…
Reference in New Issue