From a8e56e0065cfa108ee8c5d92d2292c1e3b42ee37 Mon Sep 17 00:00:00 2001 From: atheesh Date: Thu, 22 Feb 2024 17:03:20 +0530 Subject: [PATCH] fix tests --- tests/integration/cli_resource_pricing_negative_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/cli_resource_pricing_negative_test.go b/tests/integration/cli_resource_pricing_negative_test.go index f054082f1..9c6c95aca 100644 --- a/tests/integration/cli_resource_pricing_negative_test.go +++ b/tests/integration/cli_resource_pricing_negative_test.go @@ -316,7 +316,7 @@ var _ = Describe("cheqd cli - negative resource pricing", func() { By("querying the fee payer account balance after the transaction") balanceAfter, err := cli.QueryBalance(testdata.BASE_ACCOUNT_4_ADDR, resourcetypes.BaseMinimalDenom) - Expect(err).ToNot(BeNil()) + Expect(err).To(BeNil()) By("checking that the fee payer account balance has been decreased by the tax") diff := balanceBefore.Amount.Sub(balanceAfter.Amount) @@ -350,7 +350,7 @@ var _ = Describe("cheqd cli - negative resource pricing", func() { By("querying the fee payer account balance after the transaction") balanceAfter, err := cli.QueryBalance(testdata.BASE_ACCOUNT_4_ADDR, resourcetypes.BaseMinimalDenom) - Expect(err).ToNot(BeNil()) + Expect(err).To(BeNil()) By("checking that the fee payer account balance has been decreased by the tax") diff := balanceBefore.Amount.Sub(balanceAfter.Amount) @@ -384,7 +384,7 @@ var _ = Describe("cheqd cli - negative resource pricing", func() { By("querying the fee payer account balance after the transaction") balanceAfter, err := cli.QueryBalance(testdata.BASE_ACCOUNT_4_ADDR, resourcetypes.BaseMinimalDenom) - Expect(err).ToNot(BeNil()) + Expect(err).To(BeNil()) By("checking that the fee payer account balance has been decreased by the tax") diff := balanceBefore.Amount.Sub(balanceAfter.Amount)