Skip to content

Commit

Permalink
fix msg server test
Browse files Browse the repository at this point in the history
  • Loading branch information
phamminh0811 committed Jul 26, 2024
1 parent dd5eda3 commit c21b748
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions x/tax2gas/keeper/msg_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ func (suite *KeeperTestSuite) TestMsgUpdateParams() {
expErrMsg: "invalid authority",
},
{
name: "empty params",
name: "empty gas prices",
input: &types.MsgUpdateParams{
Authority: suite.keeper.GetAuthority(),
Params: types.Params{},
Params: types.Params{
Enabled: true,
},
},
expErr: true,
expErrMsg: "must provide at least 1 gas prices",
Expand Down

0 comments on commit c21b748

Please sign in to comment.