From cdeddff142fd20f8cb8bb346625909d61c596603 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 7 Apr 2021 17:01:29 +0200 Subject: Add ability to update the banner --- server/tests/api/videos/video-channels.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server/tests') 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 { doubleFollow, flushAndRunMultipleServers, getVideo, + getVideoChannel, getVideoChannelVideos, testImage, updateVideo, @@ -306,7 +307,8 @@ describe('Test video channels', function () { await waitJobs(servers) for (const server of servers) { - const videoChannel = await findChannel(server, secondVideoChannelId) + const res = await getVideoChannel(server.url, 'second_video_channel@' + servers[0].host) + const videoChannel = res.body await testImage(server.url, 'banner-resized', videoChannel.banner.path) } -- cgit v1.2.3