diff options
Diffstat (limited to 'server/tests/cli/create-import-video-file-job.ts')
-rw-r--r-- | server/tests/cli/create-import-video-file-job.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/cli/create-import-video-file-job.ts b/server/tests/cli/create-import-video-file-job.ts index 26f4bdc8d..e8cd71e09 100644 --- a/server/tests/cli/create-import-video-file-job.ts +++ b/server/tests/cli/create-import-video-file-job.ts | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { cleanupTests, doubleFollow, flushAndRunMultipleServers, ServerInfo, setAccessTokensToServers, waitJobs } from '@shared/extra-utils' | 5 | import { cleanupTests, doubleFollow, createMultipleServers, PeerTubeServer, setAccessTokensToServers, waitJobs } from '@shared/extra-utils' |
6 | import { VideoFile } from '@shared/models' | 6 | import { VideoFile } from '@shared/models' |
7 | 7 | ||
8 | const expect = chai.expect | 8 | const expect = chai.expect |
@@ -20,7 +20,7 @@ function assertVideoProperties (video: VideoFile, resolution: number, extname: s | |||
20 | describe('Test create import video jobs', function () { | 20 | describe('Test create import video jobs', function () { |
21 | this.timeout(60000) | 21 | this.timeout(60000) |
22 | 22 | ||
23 | let servers: ServerInfo[] = [] | 23 | let servers: PeerTubeServer[] = [] |
24 | let video1UUID: string | 24 | let video1UUID: string |
25 | let video2UUID: string | 25 | let video2UUID: string |
26 | 26 | ||
@@ -28,7 +28,7 @@ describe('Test create import video jobs', function () { | |||
28 | this.timeout(90000) | 28 | this.timeout(90000) |
29 | 29 | ||
30 | // Run server 2 to have transcoding enabled | 30 | // Run server 2 to have transcoding enabled |
31 | servers = await flushAndRunMultipleServers(2) | 31 | servers = await createMultipleServers(2) |
32 | await setAccessTokensToServers(servers) | 32 | await setAccessTokensToServers(servers) |
33 | 33 | ||
34 | await doubleFollow(servers[0], servers[1]) | 34 | await doubleFollow(servers[0], servers[1]) |