From c824e8a0c7f28a8770553e21e225589dd8f015c0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 8 Dec 2020 10:38:47 +0100 Subject: Fix hook test --- server/tests/plugins/filter-hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3