From 3b6fd3e027137f0bc34533445a0c63678818f020 Mon Sep 17 00:00:00 2001 From: Simon Noetzlin Date: Thu, 28 Mar 2024 16:03:34 +0100 Subject: [PATCH] add getter and setters for testing --- tests/integration/setup.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/integration/setup.go b/tests/integration/setup.go index 03c63d5502..f657bfa5bc 100644 --- a/tests/integration/setup.go +++ b/tests/integration/setup.go @@ -119,6 +119,14 @@ func (suite *CCVTestSuite) BeforeTest(suiteName, testName string) { } } +func (suite *CCVTestSuite) GetProviderChain() *ibctesting.TestChain { + return suite.providerChain +} + +func (suite *CCVTestSuite) GetCCVPath() *ibctesting.Path { + return suite.path +} + // SetupTest sets up in-mem state before every test func (suite *CCVTestSuite) SetupTest() { suite.packetSniffers = make(map[*ibctesting.TestChain]*packetSniffer)