Updated on 2026-08-14
This commit is contained in:
parent
7e375ac36b
commit
1906481ac6
11 changed files with 28 additions and 2633 deletions
|
|
@ -309,7 +309,7 @@ internal class DefaultMultiYieldBalanceFetcherTest {
|
|||
val requests = setOf(tonId, solanaId).map(YieldBalanceRequestBodyFactory::create)
|
||||
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
val errorResponse = ApiResponse.Error(ApiResponseError.NetworkException)
|
||||
val errorResponse = ApiResponse.Error(ApiResponseError.NetworkException())
|
||||
as ApiResponse<Set<YieldBalanceWrapperDTO>>
|
||||
|
||||
coEvery { stakeKitApi.getMultipleYieldBalances(requests) } returns errorResponse
|
||||
|
|
@ -328,7 +328,7 @@ internal class DefaultMultiYieldBalanceFetcherTest {
|
|||
|
||||
coVerify(inverse = true) { yieldsBalancesStore.storeActual(userWalletId = any(), values = any()) }
|
||||
|
||||
val expected = ApiResponseError.NetworkException
|
||||
val expected = ApiResponseError.NetworkException()
|
||||
|
||||
assertEitherLeft(actual, expected)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue