Skip to content

Commit fc1f5c3

Browse files
committed
update x/staking/keeper/msg_server_test.go
1 parent d34419d commit fc1f5c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

x/staking/keeper/msg_server_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ func (s *KeeperTestSuite) TestMsgUpdateParams() {
10051005
},
10061006
expErr: false,
10071007
setup: func() {
1008-
s.bankKeeper.EXPECT().GetSupply(gomock.Any(), stakingtypes.DefaultParams().BondDenom).Return(sdk.NewInt64Coin(stakingtypes.DefaultParams().BondDenom, 1000000)).AnyTimes()
1008+
s.bankKeeper.EXPECT().GetSupply(gomock.Any(), stakingtypes.DefaultParams().BondDenom).Return(sdk.NewInt64Coin(stakingtypes.DefaultParams().BondDenom, 1000000))
10091009
},
10101010
},
10111011
{
@@ -1081,7 +1081,7 @@ func (s *KeeperTestSuite) TestMsgUpdateParams() {
10811081
expErr: true,
10821082
expErrMsg: "does not exist or has zero supply",
10831083
setup: func() {
1084-
s.bankKeeper.EXPECT().GetSupply(gomock.Any(), "ghosttoken").Return(sdk.NewInt64Coin("ghosttoken", 0)).AnyTimes()
1084+
s.bankKeeper.EXPECT().GetSupply(gomock.Any(), "ghosttoken").Return(sdk.NewInt64Coin("ghosttoken", 0))
10851085
},
10861086
},
10871087
{

0 commit comments

Comments
 (0)