aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-08 10:38:47 +0100
committerChocobozzz <me@florianbigard.com>2020-12-08 10:38:47 +0100
commitc824e8a0c7f28a8770553e21e225589dd8f015c0 (patch)
tree68403d4534fee812162691fe78ca076e4a35f709 /server/tests
parent2539011cfcab2af021d837ab296a23ee990b3787 (diff)
downloadPeerTube-c824e8a0c7f28a8770553e21e225589dd8f015c0.tar.gz
PeerTube-c824e8a0c7f28a8770553e21e225589dd8f015c0.tar.zst
PeerTube-c824e8a0c7f28a8770553e21e225589dd8f015c0.zip
Fix hook test
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/plugins/filter-hooks.ts2
1 files changed, 1 insertions, 1 deletions
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 () {
114 }) 114 })
115 115
116 it('Should run filter:api.video-channels.videos.list.result', async function () { 116 it('Should run filter:api.video-channels.videos.list.result', async function () {
117 const res = await getAccountVideos(servers[0].url, servers[0].accessToken, 'root_channel', 0, 2) 117 const res = await getVideoChannelVideos(servers[0].url, servers[0].accessToken, 'root_channel', 0, 2)
118 118
119 // Plugin do +3 to the total result 119 // Plugin do +3 to the total result
120 expect(res.body.total).to.equal(13) 120 expect(res.body.total).to.equal(13)