ActivityPub-federated video streaming platform using P2P directly in your web browser
Add unset originallyPublishedAt test
Chocobozzz18570bee9991
diff --git a/packages/tests/src/api/videos/multiple-servers.ts b/packages/tests/src/api/videos/multiple-servers.tsindex 03afd7cbbe..d6e09236c0 100644--- a/packages/tests/src/api/videos/multiple-servers.ts+++ b/packages/tests/src/api/videos/multiple-servers.ts@@ -678,6 +678,21 @@ describe('Test multiple servers', function () {}})+ it('Should be able to remove originallyPublishedAt attribute', async function () {+ this.timeout(60000)++ const attributes = { originallyPublishedAt: null }+ await servers[2].videos.update({ id: toRemove[0].id, attributes })++ await waitJobs(servers)++ for (const server of servers) {+ const video = await server.videos.get({ id: toRemove[0].uuid })++ expect(video.originallyPublishedAt).to.not.exist+ }+ })+it('Should only update thumbnail and update updatedAt attribute', async function () {this.timeout(30000)