Updated on 2026-08-14
This commit is contained in:
parent
231c97e371
commit
373880691e
12 changed files with 129 additions and 61 deletions
|
|
@ -2,7 +2,6 @@ package com.tangem.data.account.converter
|
|||
|
||||
import com.google.common.truth.Truth
|
||||
import com.tangem.datasource.api.tangemTech.models.account.SaveWalletAccountsResponse
|
||||
import com.tangem.datasource.api.tangemTech.models.account.WalletAccountDTO
|
||||
import com.tangem.domain.account.models.AccountList
|
||||
import com.tangem.domain.models.account.Account
|
||||
import com.tangem.domain.models.account.AccountName
|
||||
|
|
@ -31,7 +30,7 @@ class SaveWalletAccountsResponseConverterTest {
|
|||
// Assert
|
||||
val expected = SaveWalletAccountsResponse(
|
||||
accounts = listOf(
|
||||
WalletAccountDTO(
|
||||
SaveWalletAccountsResponse.AccountDTO(
|
||||
id = accountList.mainAccount.accountId.value,
|
||||
name = (accountList.mainAccount.accountName as? AccountName.Custom)?.value,
|
||||
derivationIndex = accountList.mainAccount.derivationIndex.value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue