aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-07 17:01:29 +0200
committerChocobozzz <chocobozzz@cpy.re>2021-04-08 10:07:53 +0200
commitcdeddff142fd20f8cb8bb346625909d61c596603 (patch)
treee7b0ae302a002fb2eadc605300294a1f135c3744 /server/tests
parent282695e699a35b65441b548061ef0db5de9b3971 (diff)
downloadPeerTube-cdeddff142fd20f8cb8bb346625909d61c596603.tar.gz
PeerTube-cdeddff142fd20f8cb8bb346625909d61c596603.tar.zst
PeerTube-cdeddff142fd20f8cb8bb346625909d61c596603.zip
Add ability to update the banner
Diffstat (limited to 'server/tests')
-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 }