From e68da3407e114cc2ed270c254c45fc0855166916 Mon Sep 17 00:00:00 2001 From: MellyGray Date: Wed, 17 Jan 2024 17:22:01 +0100 Subject: [PATCH] fix: expected totalFilesCount in the integration tests --- test/integration/files/FilesRepository.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/files/FilesRepository.test.ts b/test/integration/files/FilesRepository.test.ts index a7eab387..4706ba0f 100644 --- a/test/integration/files/FilesRepository.test.ts +++ b/test/integration/files/FilesRepository.test.ts @@ -109,7 +109,7 @@ describe('FilesRepository', () => { assert.match(actual.files[0].name, testTextFile3Name); assert.match(actual.files[1].name, testTextFile2Name); assert.match(actual.files[2].name, testTextFile1Name); - assert.match(actual.totalFilesCount, 4); + assert.match(actual.totalFilesCount, 3); }); test('should return error when dataset does not exist', async () => { @@ -187,7 +187,7 @@ describe('FilesRepository', () => { assert.match(actual.files[0].name, testTextFile3Name); assert.match(actual.files[1].name, testTextFile2Name); assert.match(actual.files[2].name, testTextFile1Name); - assert.match(actual.totalFilesCount, 4); + assert.match(actual.totalFilesCount, 3); }); test('should return error when dataset does not exist', async () => {