Skip to content

Commit 8705126

Browse files
committed
unit-test fix
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
1 parent 4b2a6d2 commit 8705126

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

token/wallet_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ func TestOwnerWallet_Balance(t *testing.T) {
576576
balance, err := wallet.Balance(ctx, WithType("USD"))
577577

578578
require.NoError(t, err)
579-
assert.Equal(t, uint64(1000), balance)
579+
assert.Equal(t, big.NewInt(1000), balance)
580580
}
581581

582582
// TestOwnerWallet_RegisterRecipient verifies RegisterRecipient
@@ -768,7 +768,7 @@ func TestOwnerWallet_Balance_Error(t *testing.T) {
768768

769769
require.Error(t, err)
770770
assert.Equal(t, expectedErr, err)
771-
assert.Equal(t, uint64(0), balance)
771+
assert.Nil(t, balance)
772772
}
773773

774774
// TestIssuerWallet_ListIssuedTokens_Error verifies error handling

0 commit comments

Comments
 (0)