Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Nov 15, 2022
1 parent e738efa commit aa5ea76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/group/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1895,7 +1895,7 @@ func (s *TestSuite) TestWithdrawProposal() {
}
}

func (s *TestSuite) TestTallyProposalsAtVPEndPanics() {
func (s *TestSuite) TestTallyProposalsAtVPEnd() {
// panics before https://github.com/cosmos/cosmos-sdk/pull/13869 fixes
// we need to skip the test because extra validation was added making the invalid threshold policy
// impossible to create. However, we still want to make sure that the panic will not be triggered for the already existing invalid policies.
Expand All @@ -1919,7 +1919,7 @@ func (s *TestSuite) TestTallyProposalsAtVPEndPanics() {
votingPeriod,
minExecutionPeriod,
)
s.Require().Error(groupMsg.SetDecisionPolicy(policy))
s.Require().NoError(groupMsg.SetDecisionPolicy(policy))

s.setNextAccount()
groupRes, err := s.groupKeeper.CreateGroupWithPolicy(s.ctx, groupMsg)
Expand Down

0 comments on commit aa5ea76

Please sign in to comment.