Fix hook test

pull/3432/head
Chocobozzz 2020-12-08 10:38:47 +01:00
parent 2539011cfc
commit c824e8a0c7
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ describe('Test plugin filter hooks', function () {
})
it('Should run filter:api.video-channels.videos.list.result', async function () {
const res = await getAccountVideos(servers[0].url, servers[0].accessToken, 'root_channel', 0, 2)
const res = await getVideoChannelVideos(servers[0].url, servers[0].accessToken, 'root_channel', 0, 2)
// Plugin do +3 to the total result
expect(res.body.total).to.equal(13)