From 47078b89ee27965ba0d7579cd64943b355666118 Mon Sep 17 00:00:00 2001 From: Riccardo Persiani Date: Wed, 16 Sep 2020 14:55:24 +0200 Subject: [PATCH] Remove unnecessary lines from tests --- test/wallet/top_up_gas_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/wallet/top_up_gas_test.go b/test/wallet/top_up_gas_test.go index f86dce5c..6e8b7eec 100644 --- a/test/wallet/top_up_gas_test.go +++ b/test/wallet/top_up_gas_test.go @@ -284,7 +284,6 @@ var _ = Describe("topUpGas", func() { BeforeEach(func() { caller = Controller - BankAccount.MustTransfer(Backend, Controller.Address(), GweiToWei(20)) ownerBalance, err = Backend.BalanceAt(context.Background(), Owner.Address(), nil) Expect(err).ToNot(HaveOccurred()) }) @@ -301,10 +300,6 @@ var _ = Describe("topUpGas", func() { Expect(err).ToNot(HaveOccurred()) }) - It("should fail", func() { - Expect(isSuccessful(tx)).To(BeFalse()) - }) - It("should NOT top up the gas", func() { b, e := Backend.BalanceAt(context.Background(), WalletProxyAddress, nil) Expect(e).ToNot(HaveOccurred())