Skip to content

Commit

Permalink
fix(test): remove call count for GetBondedTokens
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed May 11, 2024
1 parent 6071f3d commit 9a9e8c1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions x/oracle/keeper/msg_server_create_price_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ var _ = Describe("MsgCreatePrice", func() {
Expect(ks.ms).ToNot(BeNil())

validatorC := NewMockValidatorI(ks.ctrl)
validatorC.EXPECT().GetBondedTokens().Return(math.NewInt(1))
validatorC.EXPECT().GetBondedTokens().Return(math.NewInt(1))
validatorC.EXPECT().GetBondedTokens().Return(math.NewInt(1))

validatorC.EXPECT().GetConsensusPower(gomock.Any()).Return(int64(1))
validatorC.EXPECT().GetConsensusPower(gomock.Any()).Return(int64(1))
Expand Down

0 comments on commit 9a9e8c1

Please sign in to comment.