Skip to content

Commit

Permalink
fix hardcoded test
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-axner committed Mar 4, 2021
1 parent 2b7f74a commit dda7b01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/auth/ante/ante_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,8 @@ func (suite *AnteTestSuite) TestAnteHandlerFees() {
{
"signer as enough funds, should pass",
func() {
accNums = []uint64{7}
accNums = []uint64{acc1.GetAccountNumber()}

modAcc := suite.app.AccountKeeper.GetModuleAccount(suite.ctx, types.FeeCollectorName)

suite.Require().True(suite.app.BankKeeper.GetAllBalances(suite.ctx, modAcc.GetAddress()).Empty())
Expand Down Expand Up @@ -511,6 +512,7 @@ func (suite *AnteTestSuite) TestAnteHandlerFees() {

for _, tc := range testCases {
suite.Run(fmt.Sprintf("Case %s", tc.desc), func() {

suite.txBuilder = suite.clientCtx.TxConfig.NewTxBuilder()
tc.malleate()

Expand Down

0 comments on commit dda7b01

Please sign in to comment.