Updated on 2026-08-14
This commit is contained in:
parent
928fde1fc8
commit
161e584fac
12 changed files with 26 additions and 34 deletions
|
|
@ -654,6 +654,7 @@ internal class StakingModelTransactionTest : StakingModelTestBase() {
|
|||
fun `WHEN onNotEnoughFeeNotificationShow THEN NotEnoughFee analytics sent with token`() = runTest {
|
||||
val (testCryptoCurrencyStatus, testAccountCurrencyStatus) = createMockedAccountCurrencyStatus()
|
||||
every { testCryptoCurrencyStatus.currency.symbol } returns "SOL"
|
||||
every { testCryptoCurrencyStatus.currency.network.name } returns "solana"
|
||||
every {
|
||||
getAccountCurrencyStatusUseCase(testUserWalletId, testCryptoCurrency)
|
||||
} returns flowOf(testAccountCurrencyStatus)
|
||||
|
|
@ -670,7 +671,12 @@ internal class StakingModelTransactionTest : StakingModelTestBase() {
|
|||
model.onNotEnoughFeeNotificationShow()
|
||||
|
||||
verify {
|
||||
analyticsEventHandler.send(StakingAnalyticsEvent.NotEnoughFee(token = "SOL"))
|
||||
analyticsEventHandler.send(
|
||||
StakingAnalyticsEvent.NotEnoughFee(
|
||||
token = "SOL",
|
||||
blockchain = "solana",
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
model.onDestroy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue