diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/videos/videos-common-filters.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/videos/videos-common-filters.ts b/server/tests/api/videos/videos-common-filters.ts index 73c066bfb..ba861164b 100644 --- a/server/tests/api/videos/videos-common-filters.ts +++ b/server/tests/api/videos/videos-common-filters.ts | |||
@@ -469,8 +469,8 @@ describe('Test videos filter', function () { | |||
469 | const finderFactory = (name: string) => (videos: Video[]) => videos.some(v => v.name === name) | 469 | const finderFactory = (name: string) => (videos: Video[]) => videos.some(v => v.name === name) |
470 | 470 | ||
471 | await servers[0].config.enableTranscoding(true, false) | 471 | await servers[0].config.enableTranscoding(true, false) |
472 | await servers[0].videos.upload({ attributes: { name: 'web video video' } }) | 472 | await servers[0].videos.upload({ attributes: { name: 'web video' } }) |
473 | const hasWebVideo = finderFactory('web video video') | 473 | const hasWebVideo = finderFactory('web video') |
474 | 474 | ||
475 | await waitJobs(servers) | 475 | await waitJobs(servers) |
476 | 476 | ||
@@ -481,8 +481,8 @@ describe('Test videos filter', function () { | |||
481 | await waitJobs(servers) | 481 | await waitJobs(servers) |
482 | 482 | ||
483 | await servers[0].config.enableTranscoding(true, true) | 483 | await servers[0].config.enableTranscoding(true, true) |
484 | await servers[0].videos.upload({ attributes: { name: 'hls and web video video' } }) | 484 | await servers[0].videos.upload({ attributes: { name: 'hls and web video' } }) |
485 | const hasBoth = finderFactory('hls and web video video') | 485 | const hasBoth = finderFactory('hls and web video') |
486 | 486 | ||
487 | await waitJobs(servers) | 487 | await waitJobs(servers) |
488 | 488 | ||