aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/video-channels.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/utils/video-channels.ts')
-rw-r--r--server/tests/utils/video-channels.ts6
1 files changed, 3 insertions, 3 deletions
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?:
20 .expect('Content-Type', /json/) 20 .expect('Content-Type', /json/)
21} 21}
22 22
23function getAuthorVideoChannelsList (url: string, authorId: number | string) { 23function getAccountVideoChannelsList (url: string, accountId: number | string) {
24 const path = '/api/v1/videos/authors/' + authorId + '/channels' 24 const path = '/api/v1/videos/accounts/' + accountId + '/channels'
25 25
26 return request(url) 26 return request(url)
27 .get(path) 27 .get(path)
@@ -87,7 +87,7 @@ function getVideoChannel (url: string, channelId: number) {
87 87
88export { 88export {
89 getVideoChannelsList, 89 getVideoChannelsList,
90 getAuthorVideoChannelsList, 90 getAccountVideoChannelsList,
91 addVideoChannel, 91 addVideoChannel,
92 updateVideoChannel, 92 updateVideoChannel,
93 deleteVideoChannel, 93 deleteVideoChannel,