Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-22 18:12:31 +01:00
parent 43fbd775e2
commit 7176436226
12 changed files with 68 additions and 13 deletions

View file

@ -195,10 +195,12 @@ internal class DefaultAddressBookRepositoryTest {
assertThat(result).isEqualTo(bob)
}
private fun createContact(id: String, name: String): Contact = Contact(
private fun createContact(id: String, name: String, iconColor: String = "KekColor"): Contact = Contact(
id = ContactId(id),
walletId = UserWalletId(WALLET_A),
name = ContactName(name).getOrNull()!!,
icon = "",
iconColor = iconColor,
createdAt = TIMESTAMP,
updatedAt = TIMESTAMP,
addressEntries = emptyList(),