diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-17 12:05:59 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | 975e6e0e44e2f2b25f804cd48a62e2a8d9e8117a (patch) | |
tree | 87ee25f3033f0fe0da76ee3649bb24cae0509c0e /server/tests/utils | |
parent | afffe98839db7ccbfa9fb8b7d1413b97900fdc73 (diff) | |
download | PeerTube-975e6e0e44e2f2b25f804cd48a62e2a8d9e8117a.tar.gz PeerTube-975e6e0e44e2f2b25f804cd48a62e2a8d9e8117a.tar.zst PeerTube-975e6e0e44e2f2b25f804cd48a62e2a8d9e8117a.zip |
Fix video full description
Diffstat (limited to 'server/tests/utils')
-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, |