diff options
Diffstat (limited to 'server/tests/api/users/user-subscriptions.ts')
-rw-r--r-- | server/tests/api/users/user-subscriptions.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/users/user-subscriptions.ts b/server/tests/api/users/user-subscriptions.ts index 1b15a98dc..d2bb9c387 100644 --- a/server/tests/api/users/user-subscriptions.ts +++ b/server/tests/api/users/user-subscriptions.ts | |||
@@ -5,8 +5,8 @@ import * as chai from 'chai' | |||
5 | import { | 5 | import { |
6 | cleanupTests, | 6 | cleanupTests, |
7 | doubleFollow, | 7 | doubleFollow, |
8 | flushAndRunMultipleServers, | 8 | createMultipleServers, |
9 | ServerInfo, | 9 | PeerTubeServer, |
10 | setAccessTokensToServers, | 10 | setAccessTokensToServers, |
11 | SubscriptionsCommand, | 11 | SubscriptionsCommand, |
12 | waitJobs | 12 | waitJobs |
@@ -15,7 +15,7 @@ import { | |||
15 | const expect = chai.expect | 15 | const expect = chai.expect |
16 | 16 | ||
17 | describe('Test users subscriptions', function () { | 17 | describe('Test users subscriptions', function () { |
18 | let servers: ServerInfo[] = [] | 18 | let servers: PeerTubeServer[] = [] |
19 | const users: { accessToken: string }[] = [] | 19 | const users: { accessToken: string }[] = [] |
20 | let video3UUID: string | 20 | let video3UUID: string |
21 | 21 | ||
@@ -24,7 +24,7 @@ describe('Test users subscriptions', function () { | |||
24 | before(async function () { | 24 | before(async function () { |
25 | this.timeout(120000) | 25 | this.timeout(120000) |
26 | 26 | ||
27 | servers = await flushAndRunMultipleServers(3) | 27 | servers = await createMultipleServers(3) |
28 | 28 | ||
29 | // Get the access tokens | 29 | // Get the access tokens |
30 | await setAccessTokensToServers(servers) | 30 | await setAccessTokensToServers(servers) |