From 510672ba19fe270460acca940abc9c49b9272010 Mon Sep 17 00:00:00 2001 From: Artur Sawicki Date: Thu, 12 Dec 2024 00:07:01 +0100 Subject: [PATCH] Fix test --- pkg/acceptance/helpers/procedure_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/acceptance/helpers/procedure_client.go b/pkg/acceptance/helpers/procedure_client.go index f8e0e27a07..7e77e37782 100644 --- a/pkg/acceptance/helpers/procedure_client.go +++ b/pkg/acceptance/helpers/procedure_client.go @@ -97,7 +97,7 @@ func (c *ProcedureClient) CreateScalaStaged(t *testing.T, id sdk.SchemaObjectIde returns := sdk.NewProcedureReturnsRequest().WithResultDataType(*dt) packages := []sdk.ProcedurePackageRequest{*sdk.NewProcedurePackageRequest("com.snowflake:snowpark:1.14.0")} - request := sdk.NewCreateForScalaProcedureRequest(id.SchemaObjectId(), *returns, handler, packages, "2.12"). + request := sdk.NewCreateForScalaProcedureRequest(id.SchemaObjectId(), *returns, "2.12", packages, handler). WithArguments([]sdk.ProcedureArgumentRequest{*argument}). WithImports([]sdk.ProcedureImportRequest{*sdk.NewProcedureImportRequest(importPath)})