aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/videos')
-rw-r--r--server/tests/api/videos/multiple-servers.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts
index 1b471ba79..7e2fcb630 100644
--- a/server/tests/api/videos/multiple-servers.ts
+++ b/server/tests/api/videos/multiple-servers.ts
@@ -98,6 +98,7 @@ describe('Test multiple servers', function () {
98 nsfw: true, 98 nsfw: true,
99 description: 'my super description for server 1', 99 description: 'my super description for server 1',
100 support: 'my super support text for server 1', 100 support: 'my super support text for server 1',
101 originallyPublishedAt: '2019-02-10T13:38:14.449Z',
101 tags: [ 'tag1p1', 'tag2p1' ], 102 tags: [ 'tag1p1', 'tag2p1' ],
102 channelId: videoChannelId, 103 channelId: videoChannelId,
103 fixture: 'video_short1.webm' 104 fixture: 'video_short1.webm'
@@ -118,6 +119,7 @@ describe('Test multiple servers', function () {
118 nsfw: true, 119 nsfw: true,
119 description: 'my super description for server 1', 120 description: 'my super description for server 1',
120 support: 'my super support text for server 1', 121 support: 'my super support text for server 1',
122 originallyPublishedAt: '2019-02-10T13:38:14.449Z',
121 account: { 123 account: {
122 name: 'root', 124 name: 'root',
123 host: 'localhost:9001' 125 host: 'localhost:9001'
@@ -625,6 +627,7 @@ describe('Test multiple servers', function () {
625 support: 'my super support text updated', 627 support: 'my super support text updated',
626 tags: [ 'tag_up_1', 'tag_up_2' ], 628 tags: [ 'tag_up_1', 'tag_up_2' ],
627 thumbnailfile: 'thumbnail.jpg', 629 thumbnailfile: 'thumbnail.jpg',
630 originallyPublishedAt: '2019-02-11T13:38:14.449Z',
628 previewfile: 'preview.jpg' 631 previewfile: 'preview.jpg'
629 } 632 }
630 633
@@ -652,6 +655,7 @@ describe('Test multiple servers', function () {
652 nsfw: true, 655 nsfw: true,
653 description: 'my super description updated', 656 description: 'my super description updated',
654 support: 'my super support text updated', 657 support: 'my super support text updated',
658 originallyPublishedAt: '2019-02-11T13:38:14.449Z',
655 account: { 659 account: {
656 name: 'root', 660 name: 'root',
657 host: 'localhost:9003' 661 host: 'localhost:9003'
@@ -983,7 +987,7 @@ describe('Test multiple servers', function () {
983 isLocal, 987 isLocal,
984 duration: 5, 988 duration: 5,
985 commentsEnabled: false, 989 commentsEnabled: false,
986 downloadEnabled: false, 990 downloadEnabled: true,
987 tags: [ ], 991 tags: [ ],
988 privacy: VideoPrivacy.PUBLIC, 992 privacy: VideoPrivacy.PUBLIC,
989 channel: { 993 channel: {