diff options
Diffstat (limited to 'server/tests/api/search/search-activitypub-video-playlists.ts')
-rw-r--r-- | server/tests/api/search/search-activitypub-video-playlists.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/search/search-activitypub-video-playlists.ts b/server/tests/api/search/search-activitypub-video-playlists.ts index 7c99b954b..ada2d3d6c 100644 --- a/server/tests/api/search/search-activitypub-video-playlists.ts +++ b/server/tests/api/search/search-activitypub-video-playlists.ts | |||
@@ -4,9 +4,9 @@ import 'mocha' | |||
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { | 5 | import { |
6 | cleanupTests, | 6 | cleanupTests, |
7 | flushAndRunMultipleServers, | 7 | createMultipleServers, |
8 | SearchCommand, | 8 | SearchCommand, |
9 | ServerInfo, | 9 | PeerTubeServer, |
10 | setAccessTokensToServers, | 10 | setAccessTokensToServers, |
11 | setDefaultVideoChannel, | 11 | setDefaultVideoChannel, |
12 | wait, | 12 | wait, |
@@ -17,7 +17,7 @@ import { VideoPlaylistPrivacy } from '@shared/models' | |||
17 | const expect = chai.expect | 17 | const expect = chai.expect |
18 | 18 | ||
19 | describe('Test ActivityPub playlists search', function () { | 19 | describe('Test ActivityPub playlists search', function () { |
20 | let servers: ServerInfo[] | 20 | let servers: PeerTubeServer[] |
21 | let playlistServer1UUID: string | 21 | let playlistServer1UUID: string |
22 | let playlistServer2UUID: string | 22 | let playlistServer2UUID: string |
23 | let video2Server2: string | 23 | let video2Server2: string |
@@ -27,7 +27,7 @@ describe('Test ActivityPub playlists search', function () { | |||
27 | before(async function () { | 27 | before(async function () { |
28 | this.timeout(120000) | 28 | this.timeout(120000) |
29 | 29 | ||
30 | servers = await flushAndRunMultipleServers(2) | 30 | servers = await createMultipleServers(2) |
31 | 31 | ||
32 | await setAccessTokensToServers(servers) | 32 | await setAccessTokensToServers(servers) |
33 | await setDefaultVideoChannel(servers) | 33 | await setDefaultVideoChannel(servers) |