diff --git a/server/tests/plugins/filter-hooks.ts b/server/tests/plugins/filter-hooks.ts index 3a5c7aa62..2441940c3 100644 --- a/server/tests/plugins/filter-hooks.ts +++ b/server/tests/plugins/filter-hooks.ts @@ -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)