aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/videos/video-channels.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/tests/api/videos/video-channels.ts b/server/tests/api/videos/video-channels.ts
index 8033b9ba5..e50582218 100644
--- a/server/tests/api/videos/video-channels.ts
+++ b/server/tests/api/videos/video-channels.ts
@@ -9,6 +9,7 @@ import {
9 doubleFollow, 9 doubleFollow,
10 flushAndRunMultipleServers, 10 flushAndRunMultipleServers,
11 getVideo, 11 getVideo,
12 getVideoChannel,
12 getVideoChannelVideos, 13 getVideoChannelVideos,
13 testImage, 14 testImage,
14 updateVideo, 15 updateVideo,
@@ -306,7 +307,8 @@ describe('Test video channels', function () {
306 await waitJobs(servers) 307 await waitJobs(servers)
307 308
308 for (const server of servers) { 309 for (const server of servers) {
309 const videoChannel = await findChannel(server, secondVideoChannelId) 310 const res = await getVideoChannel(server.url, 'second_video_channel@' + servers[0].host)
311 const videoChannel = res.body
310 312
311 await testImage(server.url, 'banner-resized', videoChannel.banner.path) 313 await testImage(server.url, 'banner-resized', videoChannel.banner.path)
312 } 314 }