Skip to content

Commit 8e979e1

Browse files
committed
fix: remove unneeded publish
1 parent 3b3f380 commit 8e979e1

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/integration/files/FilesRepository.test.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -747,16 +747,10 @@ describe('FilesRepository', () => {
747747
await uploadFileViaApi(restrictFileDatasetIds.numericId, testTextFile1Name).catch(() => {
748748
throw new Error(`Tests beforeEach(): Error while uploading file ${testTextFile1Name}`)
749749
})
750-
751-
await publishDatasetViaApi(restrictFileDatasetIds.numericId).catch(() => {
752-
throw new Error('Error while publishing test Dataset')
753-
})
754-
755-
await waitForNoLocks(restrictFileDatasetIds.numericId, 10)
756750
})
757751

758752
afterEach(async () => {
759-
await deletePublishedDatasetViaApi(restrictFileDatasetIds.persistentId)
753+
await deleteUnpublishedDatasetViaApi(restrictFileDatasetIds.numericId)
760754
})
761755

762756
test('should successfully restrict a file', async () => {

0 commit comments

Comments
 (0)