From 43738707725d66a7908be66117f51909f3c06e1d Mon Sep 17 00:00:00 2001 From: mpoke Date: Wed, 28 Aug 2024 19:49:14 +0200 Subject: [PATCH] fix integration tests --- tests/integration/common.go | 2 +- tests/integration/setup.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/common.go b/tests/integration/common.go index a2c5cd8d46..97cd3fbf29 100644 --- a/tests/integration/common.go +++ b/tests/integration/common.go @@ -42,7 +42,7 @@ func (s *CCVTestSuite) getFirstBundle() icstestingutils.ConsumerBundle { } func (s *CCVTestSuite) getBundleByIdx(index int) icstestingutils.ConsumerBundle { - return *s.consumerBundles[fmt.Sprintf("%d", 2+index)] + return *s.consumerBundles[fmt.Sprintf("%d", index)] } func (s *CCVTestSuite) providerCtx() sdk.Context { diff --git a/tests/integration/setup.go b/tests/integration/setup.go index 48d00d14ed..5b33a8b191 100644 --- a/tests/integration/setup.go +++ b/tests/integration/setup.go @@ -283,7 +283,7 @@ func initConsumerChain( err = bundle.Path.EndpointA.UpdateClient() s.Require().NoError(err) - if consumerId == "2" { + if consumerId == "0" { // Support tests that were written before multiple consumers were supported. firstBundle := s.getFirstBundle() s.consumerApp = firstBundle.App