Skip to content

Commit

Permalink
missing constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
ptiurin committed Oct 21, 2024
1 parent 8fad16f commit 676748a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 676748a

Please sign in to comment.