diff options
Diffstat (limited to 'server/tests/api/check-params/follows.ts')
-rw-r--r-- | server/tests/api/check-params/follows.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/check-params/follows.ts b/server/tests/api/check-params/follows.ts index fae3712ce..0fd2b4925 100644 --- a/server/tests/api/check-params/follows.ts +++ b/server/tests/api/check-params/follows.ts | |||
@@ -4,10 +4,10 @@ import 'mocha' | |||
4 | 4 | ||
5 | import { | 5 | import { |
6 | cleanupTests, | 6 | cleanupTests, |
7 | flushAndRunServer, | 7 | createSingleServer, |
8 | makeDeleteRequest, makeGetRequest, | 8 | makeDeleteRequest, makeGetRequest, |
9 | makePostBodyRequest, | 9 | makePostBodyRequest, |
10 | ServerInfo, | 10 | PeerTubeServer, |
11 | setAccessTokensToServers | 11 | setAccessTokensToServers |
12 | } from '../../../../shared/extra-utils' | 12 | } from '../../../../shared/extra-utils' |
13 | import { | 13 | import { |
@@ -18,14 +18,14 @@ import { | |||
18 | import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' | 18 | import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' |
19 | 19 | ||
20 | describe('Test server follows API validators', function () { | 20 | describe('Test server follows API validators', function () { |
21 | let server: ServerInfo | 21 | let server: PeerTubeServer |
22 | 22 | ||
23 | // --------------------------------------------------------------- | 23 | // --------------------------------------------------------------- |
24 | 24 | ||
25 | before(async function () { | 25 | before(async function () { |
26 | this.timeout(30000) | 26 | this.timeout(30000) |
27 | 27 | ||
28 | server = await flushAndRunServer(1) | 28 | server = await createSingleServer(1) |
29 | 29 | ||
30 | await setAccessTokensToServers([ server ]) | 30 | await setAccessTokensToServers([ server ]) |
31 | }) | 31 | }) |