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)})