test(x/gov): fix flaky TestActivateVotingPeriod test (#15153)
This commit is contained in:
parent
8e01d3f90f
commit
ff3fed22bb
@ -68,13 +68,12 @@ func (suite *KeeperTestSuite) TestDeleteProposal() {
|
||||
}
|
||||
|
||||
func (suite *KeeperTestSuite) TestActivateVotingPeriod() {
|
||||
testCases := map[string]struct {
|
||||
testCases := []struct {
|
||||
name string
|
||||
expedited bool
|
||||
}{
|
||||
"regular proposal": {},
|
||||
"expedited proposal": {
|
||||
expedited: true,
|
||||
},
|
||||
{name: "regular proposal"},
|
||||
{name: "expedited proposal", expedited: true},
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user