Skip to content

Commit

Permalink
test: remove TokenBalanceQuery from unrelated test
Browse files Browse the repository at this point in the history
  • Loading branch information
janaakhterov committed Oct 27, 2020
1 parent 9d21ceb commit 2ca564b
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions token_transfer_transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,9 @@ func TestTokenTransferTransaction_Execute(t *testing.T) {
Execute(client)
assert.NoError(t, err)

balance, err := NewTokenBalanceQuery().
SetAccountID(accountID).
Execute(client)
assert.NoError(t, err)

receipt, err = txID.GetReceipt(client)
assert.NoError(t, err)

println("balance",receipt.tokenID.String(), " ", balance[*receipt.tokenID])

txID, err = NewTokenBurnTransaction().
SetTokenID(tokenID).
SetAmount(10).
Expand All @@ -92,7 +85,7 @@ func TestTokenTransferTransaction_Execute(t *testing.T) {

txID, err = NewTokenAssociateTransaction().
SetAccountID(accountID).
SetTokenIDs(tokenID).
AddTokenID(tokenID).
Execute(client)
assert.NoError(t, err)

Expand Down Expand Up @@ -135,7 +128,7 @@ func TestTokenTransferTransaction_Execute(t *testing.T) {

txID, err = NewTokenDissociateTransaction().
SetAccountID(accountID).
SetTokenIDs(tokenID).
AddTokenID(tokenID).
Execute(client)
assert.NoError(t, err)

Expand Down

0 comments on commit 2ca564b

Please sign in to comment.