Skip to content

Commit 0208adf

Browse files
committed
remove comments
1 parent a57696e commit 0208adf

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test/integration/collections/CollectionsRepository.test.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,8 +1230,6 @@ describe('CollectionsRepository', () => {
12301230
await deleteCollectionViaApi(testFileDeletedCollectionAlias)
12311231
})
12321232

1233-
// TODO:ME - Maybe this should be Featured Item type File should not be returned if the file was restricted and the dataset published. Waiting for confirmation
1234-
12351233
test('Featured Item type File should not be returned if the file was restricted', async () => {
12361234
const testFileRestrictedCollectionAlias = 'testCollectionFeaturedItemsFileRestriction'
12371235
await createCollectionViaApi(testFileRestrictedCollectionAlias)
@@ -1273,16 +1271,6 @@ describe('CollectionsRepository', () => {
12731271

12741272
expect(featuredItemsResponseAfterFileRestriction.length).toBe(0)
12751273

1276-
// // Once we publish the dataset the featured item will not be returned anymore
1277-
// await publishDatasetViaApi(testDatasetIds.numericId)
1278-
// await waitForNoLocks(testDatasetIds.numericId, 10)
1279-
1280-
// const featuredItemsResponseAfterDatasetPublish = await sut.getCollectionFeaturedItems(
1281-
// testFileRestrictedCollectionAlias
1282-
// )
1283-
1284-
// expect(featuredItemsResponseAfterDatasetPublish.length).toBe(0)
1285-
12861274
await deletePublishedDatasetViaApi(testDatasetIds.persistentId)
12871275
await deleteCollectionViaApi(testFileRestrictedCollectionAlias)
12881276
})

0 commit comments

Comments
 (0)