From 676748ab008d37d8421ce4fc77b07c9f484c0f32 Mon Sep 17 00:00:00 2001 From: ptiurin Date: Mon, 21 Oct 2024 11:25:41 +0100 Subject: [PATCH] missing constructor --- .../firebolt/jdbc/client/query/StatementClientImplTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/firebolt/jdbc/client/query/StatementClientImplTest.java b/src/test/java/com/firebolt/jdbc/client/query/StatementClientImplTest.java index eae589a79..e6c0e5b0a 100644 --- a/src/test/java/com/firebolt/jdbc/client/query/StatementClientImplTest.java +++ b/src/test/java/com/firebolt/jdbc/client/query/StatementClientImplTest.java @@ -10,6 +10,7 @@ import com.firebolt.jdbc.exception.FireboltException; import com.firebolt.jdbc.statement.StatementInfoWrapper; import com.firebolt.jdbc.statement.StatementUtil; +import com.firebolt.jdbc.type.ParserVersion; import lombok.NonNull; import okhttp3.Call; import okhttp3.Dispatcher; @@ -349,7 +350,7 @@ private FireboltConnection use(int mockedInfraVersion, Properties props, String Call useCall = getMockedCallWithResponse(200, "", responseHeaders); Call select1Call = getMockedCallWithResponse(200, ""); when(okHttpClient.newCall(any())).thenReturn(useCall, select1Call); - FireboltConnection connection = new FireboltConnection("url", props, "0") { + FireboltConnection connection = new FireboltConnection("url", props, "0", ParserVersion.CURRENT) { { this.infraVersion = mockedInfraVersion; try {