From 90ade0d7d20b8414a949e65b98c90bb4e90afbca Mon Sep 17 00:00:00 2001 From: Ellen Kraffmiller Date: Mon, 5 May 2025 14:48:49 -0400 Subject: [PATCH] remove check of primary key value in integration test --- test/integration/files/DirectUpload.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/integration/files/DirectUpload.test.ts b/test/integration/files/DirectUpload.test.ts index 0ed5717a..a3931ab8 100644 --- a/test/integration/files/DirectUpload.test.ts +++ b/test/integration/files/DirectUpload.test.ts @@ -330,7 +330,7 @@ describe('Direct Upload', () => { mimeType: newSinglepartFile.type } - const replaceResponse = await filesRepositorySut.replaceFile(currentFileId, newUploadedFileDTO) + await filesRepositorySut.replaceFile(currentFileId, newUploadedFileDTO) // 4 - Verify that the new file is in the dataset and the old file is not datasetFiles = await filesRepositorySut.getDatasetFiles( @@ -341,7 +341,6 @@ describe('Direct Upload', () => { ) expect(datasetFiles.totalFilesCount).toBe(1) - expect(replaceResponse).toBe(currentFileId + 1) expect(datasetFiles.files[0].name).toBe('new-singlepart-file') expect(datasetFiles.files[0].sizeBytes).toBe(newSinglepartFile.size) expect(datasetFiles.files[0].storageIdentifier).toContain('localstack1://mybucket:')