From 975e6e0e44e2f2b25f804cd48a62e2a8d9e8117a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 17 Nov 2017 12:05:59 +0100 Subject: Fix video full description --- server/tests/utils/video-channels.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/tests/utils') diff --git a/server/tests/utils/video-channels.ts b/server/tests/utils/video-channels.ts index 5b436b183..0fb80d331 100644 --- a/server/tests/utils/video-channels.ts +++ b/server/tests/utils/video-channels.ts @@ -20,8 +20,8 @@ function getVideoChannelsList (url: string, start: number, count: number, sort?: .expect('Content-Type', /json/) } -function getAuthorVideoChannelsList (url: string, authorId: number | string) { - const path = '/api/v1/videos/authors/' + authorId + '/channels' +function getAccountVideoChannelsList (url: string, accountId: number | string) { + const path = '/api/v1/videos/accounts/' + accountId + '/channels' return request(url) .get(path) @@ -87,7 +87,7 @@ function getVideoChannel (url: string, channelId: number) { export { getVideoChannelsList, - getAuthorVideoChannelsList, + getAccountVideoChannelsList, addVideoChannel, updateVideoChannel, deleteVideoChannel, -- cgit v1.2.3