diff options
Diffstat (limited to 'server/tests/api/check-params/redundancy.ts')
-rw-r--r-- | server/tests/api/check-params/redundancy.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/check-params/redundancy.ts b/server/tests/api/check-params/redundancy.ts index fca92fde4..18b98a0f9 100644 --- a/server/tests/api/check-params/redundancy.ts +++ b/server/tests/api/check-params/redundancy.ts | |||
@@ -9,18 +9,18 @@ import { | |||
9 | checkBadStartPagination, | 9 | checkBadStartPagination, |
10 | cleanupTests, | 10 | cleanupTests, |
11 | doubleFollow, | 11 | doubleFollow, |
12 | flushAndRunMultipleServers, | 12 | createMultipleServers, |
13 | makeDeleteRequest, | 13 | makeDeleteRequest, |
14 | makeGetRequest, | 14 | makeGetRequest, |
15 | makePostBodyRequest, | 15 | makePostBodyRequest, |
16 | makePutBodyRequest, | 16 | makePutBodyRequest, |
17 | ServerInfo, | 17 | PeerTubeServer, |
18 | setAccessTokensToServers, | 18 | setAccessTokensToServers, |
19 | waitJobs | 19 | waitJobs |
20 | } from '../../../../shared/extra-utils' | 20 | } from '../../../../shared/extra-utils' |
21 | 21 | ||
22 | describe('Test server redundancy API validators', function () { | 22 | describe('Test server redundancy API validators', function () { |
23 | let servers: ServerInfo[] | 23 | let servers: PeerTubeServer[] |
24 | let userAccessToken = null | 24 | let userAccessToken = null |
25 | let videoIdLocal: number | 25 | let videoIdLocal: number |
26 | let videoRemote: VideoCreateResult | 26 | let videoRemote: VideoCreateResult |
@@ -30,7 +30,7 @@ describe('Test server redundancy API validators', function () { | |||
30 | before(async function () { | 30 | before(async function () { |
31 | this.timeout(80000) | 31 | this.timeout(80000) |
32 | 32 | ||
33 | servers = await flushAndRunMultipleServers(2) | 33 | servers = await createMultipleServers(2) |
34 | 34 | ||
35 | await setAccessTokensToServers(servers) | 35 | await setAccessTokensToServers(servers) |
36 | await doubleFollow(servers[0], servers[1]) | 36 | await doubleFollow(servers[0], servers[1]) |