Skip to content

Commit

Permalink
chore: fix test name
Browse files Browse the repository at this point in the history
  • Loading branch information
hacheigriega committed Aug 26, 2024
1 parent 023e7d7 commit 2a75e3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/pkr/keeper/msg_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ func (s *KeeperTestSuite) TestMsgServer_AddKey() {
wantErr: nil,
},
{
name: "Fake plastic Any",
name: "Invalid Any",
msg: &types.MsgAddKey{
ValidatorAddr: valAddrs[1].String(),
Index: 0,
PubKey: func() *codectypes.Any {
fakeAny, err := codectypes.NewAnyWithValue(&stakingtypes.Commission{})
any, err := codectypes.NewAnyWithValue(&stakingtypes.Commission{})
s.Require().NoError(err)
return fakeAny
return any
}(),
},
valAddrBytes: valAddrs[1].Bytes(),
Expand Down

0 comments on commit 2a75e3a

Please sign in to comment.