Skip to content

Commit

Permalink
Removed redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
Eengineer1 committed Jan 27, 2025
1 parent 13b566d commit 153b0a3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tests/integration/cli_defi_negative_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,10 @@ var _ = Describe("Upgrade - Feemarket fees (non-taxable transactions) negative",
}

// send the coins, balance assertions are intentionally omitted or out of scope
res, err := cli.SendTokensTx(testdata.BASE_ACCOUNT_1, testdata.BASE_ACCOUNT_2_ADDR, coins.String(), feeParams)
_, err = cli.SendTokensTx(testdata.BASE_ACCOUNT_1, testdata.BASE_ACCOUNT_2_ADDR, coins.String(), feeParams)

// assert error
Expect(err).ToNot(BeNil())

// assert the response code is 13
Expect(res.Code).To(BeEquivalentTo(13))
})

It("should fail to submit a non-taxable transaction with insufficient fees (--fees)", func() {
Expand All @@ -75,12 +72,9 @@ var _ = Describe("Upgrade - Feemarket fees (non-taxable transactions) negative",
feeParams := helpers.GenerateFees(insufficientGasPrice.String())

// send the coins, balance assertions are intentionally omitted or out of scope
res, err := cli.SendTokensTx(testdata.BASE_ACCOUNT_1, testdata.BASE_ACCOUNT_2_ADDR, coins.String(), feeParams)
_, err = cli.SendTokensTx(testdata.BASE_ACCOUNT_1, testdata.BASE_ACCOUNT_2_ADDR, coins.String(), feeParams)

// assert error
Expect(err).ToNot(BeNil())

// assert the response code is 13
Expect(res.Code).To(BeEquivalentTo(13))
})
})

0 comments on commit 153b0a3

Please sign in to comment.