diff --git a/cli/test/lib/commands/publish.test.ts b/cli/test/lib/commands/publish.test.ts index 817f2eede..78981a0e2 100644 --- a/cli/test/lib/commands/publish.test.ts +++ b/cli/test/lib/commands/publish.test.ts @@ -306,6 +306,17 @@ describe('@cube-creator/cli/lib/commands/publish', function () { }) }) + it('adds published date to published cube', async function () { + expect(cubePointer.namedNode(targetCube())).to.matchShape({ + property: [{ + path: schema.datePublished, + datatype: xsd.date, + minCount: 1, + maxCount: 1, + }], + }) + }) + it('adds project identifier to dataset metadata', async function () { expect(cubePointer.namedNode(targetCube())).to.matchShape({ property: [{