diff options
Diffstat (limited to 'server/tests/api/videos/multiple-servers.ts')
-rw-r--r-- | server/tests/api/videos/multiple-servers.ts | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts index 0215b3011..3646fbb0f 100644 --- a/server/tests/api/videos/multiple-servers.ts +++ b/server/tests/api/videos/multiple-servers.ts | |||
@@ -137,7 +137,9 @@ describe('Test multiple servers', function () { | |||
137 | nsfw: true, | 137 | nsfw: true, |
138 | description: 'my super description for server 2', | 138 | description: 'my super description for server 2', |
139 | tags: [ 'tag1p2', 'tag2p2', 'tag3p2' ], | 139 | tags: [ 'tag1p2', 'tag2p2', 'tag3p2' ], |
140 | fixture: 'video_short2.webm' | 140 | fixture: 'video_short2.webm', |
141 | thumbnailfile: 'thumbnail.jpg', | ||
142 | previewfile: 'preview.jpg' | ||
141 | } | 143 | } |
142 | await uploadVideo(servers[1].url, userAccessToken, videoAttributes) | 144 | await uploadVideo(servers[1].url, userAccessToken, videoAttributes) |
143 | 145 | ||
@@ -184,7 +186,9 @@ describe('Test multiple servers', function () { | |||
184 | resolution: 720, | 186 | resolution: 720, |
185 | size: 710000 | 187 | size: 710000 |
186 | } | 188 | } |
187 | ] | 189 | ], |
190 | thumbnailfile: 'thumbnail', | ||
191 | previewfile: 'preview' | ||
188 | } | 192 | } |
189 | 193 | ||
190 | const res = await getVideosList(server.url) | 194 | const res = await getVideosList(server.url) |
@@ -521,7 +525,9 @@ describe('Test multiple servers', function () { | |||
521 | language: 13, | 525 | language: 13, |
522 | nsfw: true, | 526 | nsfw: true, |
523 | description: 'my super description updated', | 527 | description: 'my super description updated', |
524 | tags: [ 'tag_up_1', 'tag_up_2' ] | 528 | tags: [ 'tag_up_1', 'tag_up_2' ], |
529 | thumbnailfile: 'thumbnail.jpg', | ||
530 | previewfile: 'preview.jpg' | ||
525 | } | 531 | } |
526 | 532 | ||
527 | await updateVideo(servers[2].url, servers[2].accessToken, toRemove[0].id, attributes) | 533 | await updateVideo(servers[2].url, servers[2].accessToken, toRemove[0].id, attributes) |
@@ -565,7 +571,9 @@ describe('Test multiple servers', function () { | |||
565 | resolution: 720, | 571 | resolution: 720, |
566 | size: 292677 | 572 | size: 292677 |
567 | } | 573 | } |
568 | ] | 574 | ], |
575 | thumbnailfile: 'thumbnail', | ||
576 | previewfile: 'preview' | ||
569 | } | 577 | } |
570 | await completeVideoCheck(server.url, videoUpdated, checkAttributes) | 578 | await completeVideoCheck(server.url, videoUpdated, checkAttributes) |
571 | } | 579 | } |