From 159058a685b0b37841fca95ae699ba7104c8c559 Mon Sep 17 00:00:00 2001 From: Cheng Shi Date: Thu, 7 Nov 2024 09:48:00 -0500 Subject: [PATCH] fix: add a criteria checking if it's deaccessioned --- .../integration/datasets/DatasetJSDataverseRepository.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/e2e-integration/integration/datasets/DatasetJSDataverseRepository.spec.ts b/tests/e2e-integration/integration/datasets/DatasetJSDataverseRepository.spec.ts index 84fe3c461..bab6c46b0 100644 --- a/tests/e2e-integration/integration/datasets/DatasetJSDataverseRepository.spec.ts +++ b/tests/e2e-integration/integration/datasets/DatasetJSDataverseRepository.spec.ts @@ -336,6 +336,7 @@ describe('Dataset JSDataverse Repository', () => { const datasetExpected = datasetData(dataset.persistentId, dataset.version.id) expect(dataset.version.title).to.deep.equal(datasetExpected.title) + expect(dataset.version.publishingStatus).to.equal(DatasetPublishingStatus.DEACCESSIONED) }) })