diff options
Diffstat (limited to 'server/tests/utils/video-channels.ts')
-rw-r--r-- | server/tests/utils/video-channels.ts | 6 |
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 | ||
23 | function getAuthorVideoChannelsList (url: string, authorId: number | string) { | 23 | function 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 | ||
88 | export { | 88 | export { |
89 | getVideoChannelsList, | 89 | getVideoChannelsList, |
90 | getAuthorVideoChannelsList, | 90 | getAccountVideoChannelsList, |
91 | addVideoChannel, | 91 | addVideoChannel, |
92 | updateVideoChannel, | 92 | updateVideoChannel, |
93 | deleteVideoChannel, | 93 | deleteVideoChannel, |