Skip to content

Commit b0e3bc9

Browse files
committed
fix: test
1 parent 9483ed8 commit b0e3bc9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

test/functional/files/UpdateFileTabularTags.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('execute', () => {
2222
const testCollectionAlias = 'updateFileMetadataFunctionalTest'
2323
let testDatasetIds: CreatedDatasetIdentifiers
2424
const testTextFile4Name = 'test-file-4.tab'
25-
const tabularTags = ['Survey', 'Event']
25+
const tabularTags = ['Event', 'Survey']
2626

2727
beforeAll(async () => {
2828
ApiConfig.init(
@@ -62,7 +62,6 @@ describe('execute', () => {
6262
test('should successfully update tabular tags of a file', async () => {
6363
const datasetFiles = await getDatasetFiles.execute(testDatasetIds.numericId)
6464
const fileId = datasetFiles.files[0].id
65-
const tabularTags = ['Event', 'Survey']
6665

6766
//wait for the tabular file to be ingested
6867
await new Promise((res) => setTimeout(res, 1000))

test/integration/files/FilesRepository.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ describe('FilesRepository', () => {
421421
})
422422

423423
test('should return error when file does not exist', async () => {
424-
const errorExpected = new ReadError(`[404] File with ID ${nonExistentFiledId} not found.`)
424+
const errorExpected = new ReadError(`[404] File with ID ${nonExistentFiledId} not found`)
425425

426426
await expect(sut.getFileUserPermissions(nonExistentFiledId)).rejects.toThrow(errorExpected)
427427
})

0 commit comments

Comments
 (0)