test(x/gov): fix flaky TestActivateVotingPeriod test (#15153)

This commit is contained in:
Mark Rushakoff
2023-02-24 18:14:26 +00:00
committed by GitHub
parent 8e01d3f90f
commit ff3fed22bb
+4 -5
View File
@@ -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 {