From 6481bed281200e17ca09508b839dc90223fe3ffb Mon Sep 17 00:00:00 2001 From: Lukasz <120112546+lukaszcl@users.noreply.github.com> Date: Thu, 9 Nov 2023 11:42:50 +0100 Subject: [PATCH] Add GetAPIClient to ClNode E2E docker wrapper (#11240) --- integration-tests/docker/test_env/cl_node.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/integration-tests/docker/test_env/cl_node.go b/integration-tests/docker/test_env/cl_node.go index 4de3d27d754..6e74e54a4f9 100644 --- a/integration-tests/docker/test_env/cl_node.go +++ b/integration-tests/docker/test_env/cl_node.go @@ -203,6 +203,10 @@ func (n *ClNode) GetContainerName() string { return strings.Replace(name, "/", "", -1) } +func (n *ClNode) GetAPIClient() *client.ChainlinkClient { + return n.API +} + func (n *ClNode) GetPeerUrl() (string, error) { p2pKeys, err := n.API.MustReadP2PKeys() if err != nil {