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

This commit is contained in:
Mark Rushakoff 2023-02-24 13:14:26 -05:00 committed by GitHub
parent 8e01d3f90f
commit ff3fed22bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {