Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoke committed Aug 25, 2023
1 parent b6a3259 commit ba0295d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/integration/distribution.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,11 @@ func (s *CCVTestSuite) TestSendRewardsToProvider() {

// register a consumer reward denom
params := keeper.GetConsumerParams(ctx)
params.RewardDenoms = []string{sdk.DefaultBondDenom}
params.RewardDenoms = []string{"uatom"}
keeper.SetParams(ctx, params)

denoms := keeper.AllowedRewardDenoms(ctx)
s.Require().Len(denoms, 1)
},
expError: false,
tokenTransfers: 0,
Expand Down Expand Up @@ -481,7 +484,7 @@ func (s *CCVTestSuite) TestSendRewardsToProvider() {
transfertypes.PortID,
s.consumerApp.GetConsumerKeeper().GetDistributionTransmissionChannel(consumerCtx),
)
s.Require().Len(commitments, tc.tokenTransfers)
s.Require().Len(commitments, tc.tokenTransfers, "unexpected amount of token transfers; test: %s", tc.name)
}
}

Expand Down

0 comments on commit ba0295d

Please sign in to comment.