diff options
Diffstat (limited to 'server/tests/api/check-params/video-blacklist.ts')
-rw-r--r-- | server/tests/api/check-params/video-blacklist.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/check-params/video-blacklist.ts b/server/tests/api/check-params/video-blacklist.ts index 51609b982..b5d0e0778 100644 --- a/server/tests/api/check-params/video-blacklist.ts +++ b/server/tests/api/check-params/video-blacklist.ts | |||
@@ -10,17 +10,17 @@ import { | |||
10 | checkBadStartPagination, | 10 | checkBadStartPagination, |
11 | cleanupTests, | 11 | cleanupTests, |
12 | doubleFollow, | 12 | doubleFollow, |
13 | flushAndRunMultipleServers, | 13 | createMultipleServers, |
14 | makePostBodyRequest, | 14 | makePostBodyRequest, |
15 | makePutBodyRequest, | 15 | makePutBodyRequest, |
16 | ServerInfo, | 16 | PeerTubeServer, |
17 | setAccessTokensToServers, | 17 | setAccessTokensToServers, |
18 | waitJobs | 18 | waitJobs |
19 | } from '@shared/extra-utils' | 19 | } from '@shared/extra-utils' |
20 | import { VideoBlacklistType } from '@shared/models' | 20 | import { VideoBlacklistType } from '@shared/models' |
21 | 21 | ||
22 | describe('Test video blacklist API validators', function () { | 22 | describe('Test video blacklist API validators', function () { |
23 | let servers: ServerInfo[] | 23 | let servers: PeerTubeServer[] |
24 | let notBlacklistedVideoId: string | 24 | let notBlacklistedVideoId: string |
25 | let remoteVideoUUID: string | 25 | let remoteVideoUUID: string |
26 | let userAccessToken1 = '' | 26 | let userAccessToken1 = '' |
@@ -32,7 +32,7 @@ describe('Test video blacklist API validators', function () { | |||
32 | before(async function () { | 32 | before(async function () { |
33 | this.timeout(120000) | 33 | this.timeout(120000) |
34 | 34 | ||
35 | servers = await flushAndRunMultipleServers(2) | 35 | servers = await createMultipleServers(2) |
36 | 36 | ||
37 | await setAccessTokensToServers(servers) | 37 | await setAccessTokensToServers(servers) |
38 | await doubleFollow(servers[0], servers[1]) | 38 | await doubleFollow(servers[0], servers[1]) |