Skip to content

Commit

Permalink
tests: fix consumer/keeper/validators_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
MSalopek committed Nov 10, 2023
1 parent a4265de commit 7346cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/ccv/consumer/keeper/validators_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func TestIsValidatorJailed(t *testing.T) {
// At this point, the state of the consumer keeper is s.t. IsValidatorJailed() queries the standalone staking keeper

// Now mock that a validator is jailed from the standalone staking keeper
mocks.MockStakingKeeper.EXPECT().IsValidatorJailed(ctx, consAddr).Return(true).Times(1)
mocks.MockStakingKeeper.EXPECT().IsValidatorJailed(ctx, consAddr).Return(true, nil).Times(1)

// Confirm IsValidatorJailed returns true
isJailed3, err := consumerKeeper.IsValidatorJailed(ctx, consAddr)
Expand Down

0 comments on commit 7346cb5

Please sign in to comment.