Skip to content

Commit

Permalink
fix: remove the skip so the test case could be included
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengShi-1 committed Nov 4, 2024
1 parent 110d696 commit 762b80c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,7 @@ describe('Dataset JSDataverse Repository', () => {
})
})

it.skip('gets the dataset by persistentId when the dataset is deaccessioned', async () => {
// TODO - Implement once the getDatasetCitation includes deaccessioned datasets
it('gets the dataset by persistentId when the dataset is deaccessioned', async () => {
const datasetResponse = await DatasetHelper.create(collectionId)

await DatasetHelper.publish(datasetResponse.persistentId)
Expand All @@ -339,6 +338,7 @@ describe('Dataset JSDataverse Repository', () => {
expect(dataset.version.title).to.deep.equal(datasetExpected.title)
})
})

it('gets the dataset by persistentId when is locked', async () => {
const datasetResponse = await DatasetHelper.create(collectionId)
await DatasetHelper.lock(datasetResponse.id, DatasetLockReason.FINALIZE_PUBLICATION)
Expand Down

0 comments on commit 762b80c

Please sign in to comment.