aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/jobs.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/jobs.ts')
-rw-r--r--server/tests/api/check-params/jobs.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/check-params/jobs.ts b/server/tests/api/check-params/jobs.ts
index 3786e8612..a370ec2d3 100644
--- a/server/tests/api/check-params/jobs.ts
+++ b/server/tests/api/check-params/jobs.ts
@@ -4,8 +4,8 @@ import 'mocha'
4 4
5import { 5import {
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'
11import { 11import {
@@ -18,7 +18,7 @@ import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-c
18 18
19describe('Test jobs API validators', function () { 19describe('Test jobs API validators', function () {
20 const path = '/api/v1/jobs/failed' 20 const path = '/api/v1/jobs/failed'
21 let server: ServerInfo 21 let server: PeerTubeServer
22 let userAccessToken = '' 22 let userAccessToken = ''
23 23
24 // --------------------------------------------------------------- 24 // ---------------------------------------------------------------
@@ -26,7 +26,7 @@ describe('Test jobs API validators', function () {
26 before(async function () { 26 before(async function () {
27 this.timeout(120000) 27 this.timeout(120000)
28 28
29 server = await flushAndRunServer(1) 29 server = await createSingleServer(1)
30 30
31 await setAccessTokensToServers([ server ]) 31 await setAccessTokensToServers([ server ])
32 32