diff options
Diffstat (limited to 'server/tests/api/activitypub/fetch.ts')
-rw-r--r-- | server/tests/api/activitypub/fetch.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/activitypub/fetch.ts b/server/tests/api/activitypub/fetch.ts index 34694a773..ddfe6cfe0 100644 --- a/server/tests/api/activitypub/fetch.ts +++ b/server/tests/api/activitypub/fetch.ts | |||
@@ -2,19 +2,19 @@ | |||
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { cleanupTests, doubleFollow, flushAndRunMultipleServers, ServerInfo, setAccessTokensToServers, waitJobs } from '@shared/extra-utils' | 5 | import { cleanupTests, doubleFollow, createMultipleServers, PeerTubeServer, setAccessTokensToServers, waitJobs } from '@shared/extra-utils' |
6 | 6 | ||
7 | const expect = chai.expect | 7 | const expect = chai.expect |
8 | 8 | ||
9 | describe('Test ActivityPub fetcher', function () { | 9 | describe('Test ActivityPub fetcher', function () { |
10 | let servers: ServerInfo[] | 10 | let servers: PeerTubeServer[] |
11 | 11 | ||
12 | // --------------------------------------------------------------- | 12 | // --------------------------------------------------------------- |
13 | 13 | ||
14 | before(async function () { | 14 | before(async function () { |
15 | this.timeout(60000) | 15 | this.timeout(60000) |
16 | 16 | ||
17 | servers = await flushAndRunMultipleServers(3) | 17 | servers = await createMultipleServers(3) |
18 | 18 | ||
19 | // Get the access tokens | 19 | // Get the access tokens |
20 | await setAccessTokensToServers(servers) | 20 | await setAccessTokensToServers(servers) |