From 17df2e921e67d21ea85263b2b35b19c123da5a69 Mon Sep 17 00:00:00 2001 From: chatton Date: Thu, 23 May 2024 15:13:47 +0100 Subject: [PATCH] chore: remove unused chain variable in setup --- modules/apps/callbacks/types/types_test.go | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/modules/apps/callbacks/types/types_test.go b/modules/apps/callbacks/types/types_test.go index 5843f972249..5aab45242d2 100644 --- a/modules/apps/callbacks/types/types_test.go +++ b/modules/apps/callbacks/types/types_test.go @@ -14,19 +14,16 @@ type CallbacksTypesTestSuite struct { coord *ibctesting.Coordinator - chain *ibctesting.TestChain - chainA, chainB *ibctesting.TestChain path *ibctesting.Path } -// SetupTest creates a coordinator with 1 test chain. +// SetupTest creates a coordinator with 2 test chains. func (s *CallbacksTypesTestSuite) SetupTest() { - s.coord = ibctesting.NewCoordinator(s.T(), 3) - s.chain = s.coord.GetChain(ibctesting.GetChainID(1)) - s.chainA = s.coord.GetChain(ibctesting.GetChainID(2)) - s.chainB = s.coord.GetChain(ibctesting.GetChainID(3)) + s.coord = ibctesting.NewCoordinator(s.T(), 2) + s.chainA = s.coord.GetChain(ibctesting.GetChainID(1)) + s.chainB = s.coord.GetChain(ibctesting.GetChainID(2)) s.path = ibctesting.NewPath(s.chainA, s.chainB) }