From 784e2ad5c34bcfef36a3f69e9e9acd7cbb3d6428 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 11 Jul 2023 09:21:13 +0200 Subject: Prefer web videos in favour of webtorrent --- server/tests/api/transcoding/create-transcoding.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'server/tests/api/transcoding/create-transcoding.ts') diff --git a/server/tests/api/transcoding/create-transcoding.ts b/server/tests/api/transcoding/create-transcoding.ts index d6f5b01dc..21a63f547 100644 --- a/server/tests/api/transcoding/create-transcoding.ts +++ b/server/tests/api/transcoding/create-transcoding.ts @@ -96,12 +96,12 @@ function runTests (enableObjectStorage: boolean) { } }) - it('Should generate WebTorrent', async function () { + it('Should generate Web Video', async function () { this.timeout(60000) await servers[0].videos.runTranscoding({ videoId: videoUUID, - transcodingType: 'webtorrent' + transcodingType: 'web-video' }) await waitJobs(servers) @@ -117,13 +117,13 @@ function runTests (enableObjectStorage: boolean) { } }) - it('Should generate WebTorrent from HLS only video', async function () { + it('Should generate Web Video from HLS only video', async function () { this.timeout(60000) - await servers[0].videos.removeAllWebTorrentFiles({ videoId: videoUUID }) + await servers[0].videos.removeAllWebVideoFiles({ videoId: videoUUID }) await waitJobs(servers) - await servers[0].videos.runTranscoding({ videoId: videoUUID, transcodingType: 'webtorrent' }) + await servers[0].videos.runTranscoding({ videoId: videoUUID, transcodingType: 'web-video' }) await waitJobs(servers) for (const server of servers) { @@ -137,13 +137,13 @@ function runTests (enableObjectStorage: boolean) { } }) - it('Should only generate WebTorrent', async function () { + it('Should only generate Web Video', async function () { this.timeout(60000) await servers[0].videos.removeHLSPlaylist({ videoId: videoUUID }) await waitJobs(servers) - await servers[0].videos.runTranscoding({ videoId: videoUUID, transcodingType: 'webtorrent' }) + await servers[0].videos.runTranscoding({ videoId: videoUUID, transcodingType: 'web-video' }) await waitJobs(servers) for (const server of servers) { -- cgit v1.2.3