From fe7002369cceee89540e08aa71b8199c82fafede Mon Sep 17 00:00:00 2001 From: sfc-gh-dszmolka Date: Tue, 14 Jan 2025 09:31:00 +0100 Subject: [PATCH] EmptyTransporter to return nil in connection_test.go --- connection_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connection_test.go b/connection_test.go index 06a5ff7a0..13dcac9c7 100644 --- a/connection_test.go +++ b/connection_test.go @@ -829,8 +829,8 @@ func TestBeginCreatesTransaction(t *testing.T) { type EmptyTransporter struct{} -func (t EmptyTransporter) RoundTrip(req *http.Request) (*http.Response, error) { - return snowflakeInsecureTransport.RoundTrip(req) +func (t EmptyTransporter) RoundTrip(*http.Request) (*http.Response, error) { + return nil, nil } func TestGetTransport(t *testing.T) {