Updated on 2026-08-14

This commit is contained in:
Tangem 2026-05-04 10:47:07 +03:00
parent 928fde1fc8
commit 161e584fac
12 changed files with 26 additions and 34 deletions

View file

@ -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()