diff options
Diffstat (limited to 'server/tests/client.ts')
-rw-r--r-- | server/tests/client.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/client.ts b/server/tests/client.ts index caf6fb00c..959b34653 100644 --- a/server/tests/client.ts +++ b/server/tests/client.ts | |||
@@ -8,10 +8,10 @@ import { Account, HTMLServerConfig, ServerConfig, VideoPlaylistCreateResult, Vid | |||
8 | import { | 8 | import { |
9 | cleanupTests, | 9 | cleanupTests, |
10 | doubleFollow, | 10 | doubleFollow, |
11 | flushAndRunMultipleServers, | 11 | createMultipleServers, |
12 | makeGetRequest, | 12 | makeGetRequest, |
13 | makeHTMLRequest, | 13 | makeHTMLRequest, |
14 | ServerInfo, | 14 | PeerTubeServer, |
15 | setAccessTokensToServers, | 15 | setAccessTokensToServers, |
16 | setDefaultVideoChannel, | 16 | setDefaultVideoChannel, |
17 | waitJobs | 17 | waitJobs |
@@ -29,7 +29,7 @@ function checkIndexTags (html: string, title: string, description: string, css: | |||
29 | } | 29 | } |
30 | 30 | ||
31 | describe('Test a client controllers', function () { | 31 | describe('Test a client controllers', function () { |
32 | let servers: ServerInfo[] = [] | 32 | let servers: PeerTubeServer[] = [] |
33 | let account: Account | 33 | let account: Account |
34 | 34 | ||
35 | const videoName = 'my super name for server 1' | 35 | const videoName = 'my super name for server 1' |
@@ -51,7 +51,7 @@ describe('Test a client controllers', function () { | |||
51 | before(async function () { | 51 | before(async function () { |
52 | this.timeout(120000) | 52 | this.timeout(120000) |
53 | 53 | ||
54 | servers = await flushAndRunMultipleServers(2) | 54 | servers = await createMultipleServers(2) |
55 | 55 | ||
56 | await setAccessTokensToServers(servers) | 56 | await setAccessTokensToServers(servers) |
57 | 57 | ||