aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/video-channels.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/video-channels.ts')
-rw-r--r--server/tests/api/video-channels.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/video-channels.ts b/server/tests/api/video-channels.ts
index b851d7185..de1807ef2 100644
--- a/server/tests/api/video-channels.ts
+++ b/server/tests/api/video-channels.ts
@@ -13,7 +13,7 @@ import {
13 getMyUserInformation, 13 getMyUserInformation,
14 getVideoChannelsList, 14 getVideoChannelsList,
15 addVideoChannel, 15 addVideoChannel,
16 getAuthorVideoChannelsList, 16 getAccountVideoChannelsList,
17 updateVideoChannel, 17 updateVideoChannel,
18 deleteVideoChannel, 18 deleteVideoChannel,
19 getVideoChannel 19 getVideoChannel
@@ -64,8 +64,8 @@ describe('Test a video channels', function () {
64 expect(videoChannels[1].description).to.equal('super video channel description') 64 expect(videoChannels[1].description).to.equal('super video channel description')
65 }) 65 })
66 66
67 it('Should have two video channels when getting author channels', async () => { 67 it('Should have two video channels when getting account channels', async () => {
68 const res = await getAuthorVideoChannelsList(server.url, userInfo.account.uuid) 68 const res = await getAccountVideoChannelsList(server.url, userInfo.account.uuid)
69 69
70 expect(res.body.total).to.equal(2) 70 expect(res.body.total).to.equal(2)
71 expect(res.body.data).to.be.an('array') 71 expect(res.body.data).to.be.an('array')