diff options
Diffstat (limited to 'server/tests/api/check-params/debug.ts')
-rw-r--r-- | server/tests/api/check-params/debug.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/check-params/debug.ts b/server/tests/api/check-params/debug.ts index 609f9566e..9c13e9daf 100644 --- a/server/tests/api/check-params/debug.ts +++ b/server/tests/api/check-params/debug.ts | |||
@@ -4,8 +4,8 @@ import 'mocha' | |||
4 | 4 | ||
5 | import { | 5 | import { |
6 | cleanupTests, | 6 | cleanupTests, |
7 | flushAndRunServer, | 7 | createSingleServer, |
8 | ServerInfo, | 8 | PeerTubeServer, |
9 | setAccessTokensToServers | 9 | setAccessTokensToServers |
10 | } from '../../../../shared/extra-utils' | 10 | } from '../../../../shared/extra-utils' |
11 | import { makeGetRequest } from '../../../../shared/extra-utils/requests/requests' | 11 | import { makeGetRequest } from '../../../../shared/extra-utils/requests/requests' |
@@ -13,7 +13,7 @@ import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-c | |||
13 | 13 | ||
14 | describe('Test debug API validators', function () { | 14 | describe('Test debug API validators', function () { |
15 | const path = '/api/v1/server/debug' | 15 | const path = '/api/v1/server/debug' |
16 | let server: ServerInfo | 16 | let server: PeerTubeServer |
17 | let userAccessToken = '' | 17 | let userAccessToken = '' |
18 | 18 | ||
19 | // --------------------------------------------------------------- | 19 | // --------------------------------------------------------------- |
@@ -21,7 +21,7 @@ describe('Test debug API validators', function () { | |||
21 | before(async function () { | 21 | before(async function () { |
22 | this.timeout(120000) | 22 | this.timeout(120000) |
23 | 23 | ||
24 | server = await flushAndRunServer(1) | 24 | server = await createSingleServer(1) |
25 | 25 | ||
26 | await setAccessTokensToServers([ server ]) | 26 | await setAccessTokensToServers([ server ]) |
27 | 27 | ||