Skip to content

Commit

Permalink
imp(transfer/test): added whitespace test case
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed May 24, 2023
1 parent 7d66ac3 commit 04b2591
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/apps/transfer/keeper/msg_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ func (suite *KeeperTestSuite) TestUpdateParams() {
types.NewMsgUpdateParams("", types.DefaultParams()),
false,
},
{
"failure: whitespace authority address",
types.NewMsgUpdateParams(" ", types.DefaultParams()),
false,
},
{
"failure: unauthorized authority address",
types.NewMsgUpdateParams(ibctesting.TestAccAddress, types.DefaultParams()),
Expand Down

0 comments on commit 04b2591

Please sign in to comment.