diff options
Diffstat (limited to 'server/tests/api/videos/multiple-servers.ts')
-rw-r--r-- | server/tests/api/videos/multiple-servers.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts index 89d842307..562079a15 100644 --- a/server/tests/api/videos/multiple-servers.ts +++ b/server/tests/api/videos/multiple-servers.ts | |||
@@ -12,8 +12,8 @@ import { | |||
12 | completeVideoCheck, | 12 | completeVideoCheck, |
13 | dateIsValid, | 13 | dateIsValid, |
14 | doubleFollow, | 14 | doubleFollow, |
15 | flushAndRunMultipleServers, | 15 | createMultipleServers, |
16 | ServerInfo, | 16 | PeerTubeServer, |
17 | setAccessTokensToServers, | 17 | setAccessTokensToServers, |
18 | testImage, | 18 | testImage, |
19 | wait, | 19 | wait, |
@@ -25,7 +25,7 @@ import { VideoCommentThreadTree, VideoPrivacy } from '@shared/models' | |||
25 | const expect = chai.expect | 25 | const expect = chai.expect |
26 | 26 | ||
27 | describe('Test multiple servers', function () { | 27 | describe('Test multiple servers', function () { |
28 | let servers: ServerInfo[] = [] | 28 | let servers: PeerTubeServer[] = [] |
29 | const toRemove = [] | 29 | const toRemove = [] |
30 | let videoUUID = '' | 30 | let videoUUID = '' |
31 | let videoChannelId: number | 31 | let videoChannelId: number |
@@ -33,7 +33,7 @@ describe('Test multiple servers', function () { | |||
33 | before(async function () { | 33 | before(async function () { |
34 | this.timeout(120000) | 34 | this.timeout(120000) |
35 | 35 | ||
36 | servers = await flushAndRunMultipleServers(3) | 36 | servers = await createMultipleServers(3) |
37 | 37 | ||
38 | // Get the access tokens | 38 | // Get the access tokens |
39 | await setAccessTokensToServers(servers) | 39 | await setAccessTokensToServers(servers) |