diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/tests/src/api/videos/multiple-servers.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/tests/src/api/videos/multiple-servers.ts b/packages/tests/src/api/videos/multiple-servers.ts index 03afd7cbb..d6e09236c 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 () { | |||
678 | } | 678 | } |
679 | }) | 679 | }) |
680 | 680 | ||
681 | it('Should be able to remove originallyPublishedAt attribute', async function () { | ||
682 | this.timeout(60000) | ||
683 | |||
684 | const attributes = { originallyPublishedAt: null } | ||
685 | await servers[2].videos.update({ id: toRemove[0].id, attributes }) | ||
686 | |||
687 | await waitJobs(servers) | ||
688 | |||
689 | for (const server of servers) { | ||
690 | const video = await server.videos.get({ id: toRemove[0].uuid }) | ||
691 | |||
692 | expect(video.originallyPublishedAt).to.not.exist | ||
693 | } | ||
694 | }) | ||
695 | |||
681 | it('Should only update thumbnail and update updatedAt attribute', async function () { | 696 | it('Should only update thumbnail and update updatedAt attribute', async function () { |
682 | this.timeout(30000) | 697 | this.timeout(30000) |
683 | 698 | ||