Skip to content

Commit

Permalink
test(oracle): remove unused monkey-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
leonz789 committed May 27, 2024
1 parent 7303509 commit bd302fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x/oracle/keeper/msg_server_create_price_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ 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 bd302fc

Please sign in to comment.