File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff 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 ( ) => {
You can’t perform that action at this time.
0 commit comments