aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/plugins
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-13 11:58:01 +0200
committerChocobozzz <me@florianbigard.com>2022-07-13 12:14:26 +0200
commitba2684ceddf9b76312635b9cddc6bf6975ce436a (patch)
treed7c9618b9a6f632029d809d8bf342adc26c85cc8 /server/tests/plugins
parente45dd87b93c621c606415f9e8d0d381de6d7a2d7 (diff)
downloadPeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.gz
PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.zst
PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.zip
Fix lint
Diffstat (limited to 'server/tests/plugins')
-rw-r--r--server/tests/plugins/filter-hooks.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/plugins/filter-hooks.ts b/server/tests/plugins/filter-hooks.ts
index e0f25ca26..b1f83d201 100644
--- a/server/tests/plugins/filter-hooks.ts
+++ b/server/tests/plugins/filter-hooks.ts
@@ -395,7 +395,7 @@ describe('Test plugin filter hooks', function () {
395 const uuids: string[] = [] 395 const uuids: string[] = []
396 396
397 for (const name of [ 'bad torrent', 'bad file', 'bad playlist file' ]) { 397 for (const name of [ 'bad torrent', 'bad file', 'bad playlist file' ]) {
398 const uuid = (await servers[0].videos.quickUpload({ name: name })).uuid 398 const uuid = (await servers[0].videos.quickUpload({ name })).uuid
399 uuids.push(uuid) 399 uuids.push(uuid)
400 } 400 }
401 401
@@ -446,7 +446,7 @@ describe('Test plugin filter hooks', function () {
446 446
447 for (const name of [ 'bad embed', 'good embed' ]) { 447 for (const name of [ 'bad embed', 'good embed' ]) {
448 { 448 {
449 const uuid = (await servers[0].videos.quickUpload({ name: name })).uuid 449 const uuid = (await servers[0].videos.quickUpload({ name })).uuid
450 embedVideos.push(await servers[0].videos.get({ id: uuid })) 450 embedVideos.push(await servers[0].videos.get({ id: uuid }))
451 } 451 }
452 452