Ensure no-op test of account switching is valid (#238)

This commit is contained in:
Brian Yencho 2023-11-13 10:41:02 -06:00 committed by Álison Fernandes
parent 62d82b5304
commit 20bc2b4656

View file

@ -32,10 +32,12 @@ class VaultViewModelTest : BaseViewModelTest() {
fun `on AccountSwitchClick for the active account should do nothing`() = runTest {
val viewModel = createViewModel()
viewModel.eventFlow.test {
viewModel.trySendAction(
VaultAction.AccountSwitchClick(
accountSummary = mockk {
every { status } returns AccountSummary.Status.ACTIVE
},
),
)
expectNoEvents()
}