From 1967fb3eebb680e54ad234f733f673cf62f5f387 Mon Sep 17 00:00:00 2001 From: Philip Krauss Date: Thu, 4 Jan 2024 16:09:04 +0100 Subject: [PATCH] integ test --- internal/integration-tests/records_client_test.go | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/internal/integration-tests/records_client_test.go b/internal/integration-tests/records_client_test.go index 1f82ae9..09f4f7a 100644 --- a/internal/integration-tests/records_client_test.go +++ b/internal/integration-tests/records_client_test.go @@ -507,13 +507,16 @@ func generateInsertRecordRequest(databaseName, tableName string) xata.InsertReco integerColumn: xata.ValueFromInteger(10), floatColumn: xata.ValueFromDouble(10.3), fileColumn: xata.ValueFromInputFile(xata.InputFile{ - Name: testFileName, - Base64Content: xata.String(base64.StdEncoding.EncodeToString([]byte(fileContent))), + Name: testFileName, + Base64Content: xata.String(base64.StdEncoding.EncodeToString([]byte(fileContent))), + EnablePublicUrl: xata.Bool(true), }), fileArrayColumn: xata.ValueFromInputFileArray(xata.InputFileArray{ { - Name: xata.String(testFileName), - Base64Content: xata.String(base64.StdEncoding.EncodeToString([]byte(fileContent))), + Name: xata.String(testFileName), + Base64Content: xata.String(base64.StdEncoding.EncodeToString([]byte(fileContent))), + UploadUrlTimeout: xata.Int(100), + SignedUrlTimeout: xata.Int(600), }, }), vectorColumn: xata.ValueFromDoubleList([]float64{10.3, 20.2}),