X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fvideo-channels.ts;h=de1807ef2b58893f9340b9e8328411271ecc1b8b;hb=975e6e0e44e2f2b25f804cd48a62e2a8d9e8117a;hp=b851d7185fdfc3e199d127fc6e8092c9b2c81ebc;hpb=afffe98839db7ccbfa9fb8b7d1413b97900fdc73;p=github%2FChocobozzz%2FPeerTube.git 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 { getMyUserInformation, getVideoChannelsList, addVideoChannel, - getAuthorVideoChannelsList, + getAccountVideoChannelsList, updateVideoChannel, deleteVideoChannel, getVideoChannel @@ -64,8 +64,8 @@ describe('Test a video channels', function () { expect(videoChannels[1].description).to.equal('super video channel description') }) - it('Should have two video channels when getting author channels', async () => { - const res = await getAuthorVideoChannelsList(server.url, userInfo.account.uuid) + it('Should have two video channels when getting account channels', async () => { + const res = await getAccountVideoChannelsList(server.url, userInfo.account.uuid) expect(res.body.total).to.equal(2) expect(res.body.data).to.be.an('array')