Skip to content

Commit e5edc4b

Browse files
committed
tests: improve unjail tests
1 parent 928baa5 commit e5edc4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/democracy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,10 @@ func (s *ConsumerDemocracyTestSuite) TestDemocracyValidatorUnjail() {
243243
// setting up pre-conditions
244244
// validator[0] is expected to be jailed
245245
expectJailed := validators[0]
246-
expectJailed.Jailed = true
247246
consAddr, err := expectJailed.GetConsAddr()
248247
s.Require().NoError(err)
249248
stakingKeeper.GetValidatorSet().Jail(s.consumerCtx(), consAddr)
249+
250250
s.consumerChain.NextBlock()
251251

252252
validators, err = stakingKeeper.GetAllValidators(s.consumerCtx())

0 commit comments

Comments
 (0)