Skip to content

Commit

Permalink
Update params_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
shaspitz committed Sep 18, 2023
1 parent 2d46f4d commit 9f305db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/ccv/consumer/types/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ func TestValidateParams(t *testing.T) {
"custom invalid params, retry delay period is negative",
ccvtypes.NewParams(true, 5, "", "", 5, 1005, "0.5", 1000, 24*21*time.Hour, "0.05", []string{}, []string{}, -2*time.Hour), false,
},
{
"custom invalid params, retry delay period is zero",
ccvtypes.NewParams(true, 5, "", "", 5, 1005, "0.5", 1000, 24*21*time.Hour, "0.05", []string{}, []string{}, 0), false,
},
}

for _, tc := range testCases {
Expand Down

0 comments on commit 9f305db

Please sign in to comment.