Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Remove unnecessary lines from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardopersiani committed Sep 16, 2020
1 parent 5d2fa44 commit 47078b8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/wallet/top_up_gas_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
})
Expand All @@ -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())
Expand Down

0 comments on commit 47078b8

Please sign in to comment.