X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fcli%2Fcreate-transcoding-job.ts;h=ea34286627bb1bfbdfbc844bd1124bc390117964;hb=bf54587a3e2ad9c2c186828f2a5682b91ee2cc00;hp=2b388ab0ca0de87de53547c7dac50df983f42c1e;hpb=9db2330e4a32a3bb0fe821abec1b061e4edb65b5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/cli/create-transcoding-job.ts b/server/tests/cli/create-transcoding-job.ts index 2b388ab0c..ea3428662 100644 --- a/server/tests/cli/create-transcoding-job.ts +++ b/server/tests/cli/create-transcoding-job.ts @@ -14,7 +14,7 @@ import { PeerTubeServer, setAccessTokensToServers, waitJobs -} from '../../../shared/extra-utils' +} from '../../../shared/server-commands' const expect = chai.expect @@ -220,9 +220,9 @@ function runTests (objectStorage: boolean) { for (const server of servers) { const videoDetails = await server.videos.get({ id: videosUUID[4] }) - expect(videoDetails.files).to.have.lengthOf(4) + expect(videoDetails.files).to.have.lengthOf(5) expect(videoDetails.streamingPlaylists).to.have.lengthOf(1) - expect(videoDetails.streamingPlaylists[0].files).to.have.lengthOf(4) + expect(videoDetails.streamingPlaylists[0].files).to.have.lengthOf(5) if (objectStorage) { await checkFilesInObjectStorage(videoDetails.files, 'webtorrent')