diff options
Diffstat (limited to 'server/tests/plugins')
-rw-r--r-- | server/tests/plugins/filter-hooks.ts | 4 |
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 | ||