Skip to content

Commit

Permalink
fixed UT
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsitrin committed Dec 15, 2024
1 parent 5b257a9 commit 32f59af
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions x/incentives/types/msgs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,24 +118,6 @@ func TestMsgCreateGauge(t *testing.T) {
}),
expectPass: false,
},
{
name: "invalid num epochs paid over for perpetual gauge",
msg: createMsg(func(msg incentivestypes.MsgCreateGauge) incentivestypes.MsgCreateGauge {
msg.NumEpochsPaidOver = 2
msg.IsPerpetual = true
return msg
}),
expectPass: false,
},
{
name: "valid num epochs paid over for perpetual gauge",
msg: createMsg(func(msg incentivestypes.MsgCreateGauge) incentivestypes.MsgCreateGauge {
msg.NumEpochsPaidOver = 1
msg.IsPerpetual = true
return msg
}),
expectPass: true,
},
}

for _, test := range tests {
Expand Down

0 comments on commit 32f59af

Please sign in to comment.