aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/video-comments.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/video-comments.ts')
-rw-r--r--server/tests/api/check-params/video-comments.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/check-params/video-comments.ts b/server/tests/api/check-params/video-comments.ts
index 44af9d7e3..ea5340b40 100644
--- a/server/tests/api/check-params/video-comments.ts
+++ b/server/tests/api/check-params/video-comments.ts
@@ -8,11 +8,11 @@ import {
8 checkBadSortPagination, 8 checkBadSortPagination,
9 checkBadStartPagination, 9 checkBadStartPagination,
10 cleanupTests, 10 cleanupTests,
11 flushAndRunServer, 11 createSingleServer,
12 makeDeleteRequest, 12 makeDeleteRequest,
13 makeGetRequest, 13 makeGetRequest,
14 makePostBodyRequest, 14 makePostBodyRequest,
15 ServerInfo, 15 PeerTubeServer,
16 setAccessTokensToServers 16 setAccessTokensToServers
17} from '@shared/extra-utils' 17} from '@shared/extra-utils'
18import { VideoCreateResult } from '@shared/models' 18import { VideoCreateResult } from '@shared/models'
@@ -22,7 +22,7 @@ const expect = chai.expect
22describe('Test video comments API validator', function () { 22describe('Test video comments API validator', function () {
23 let pathThread: string 23 let pathThread: string
24 let pathComment: string 24 let pathComment: string
25 let server: ServerInfo 25 let server: PeerTubeServer
26 let video: VideoCreateResult 26 let video: VideoCreateResult
27 let userAccessToken: string 27 let userAccessToken: string
28 let userAccessToken2: string 28 let userAccessToken2: string
@@ -33,7 +33,7 @@ describe('Test video comments API validator', function () {
33 before(async function () { 33 before(async function () {
34 this.timeout(30000) 34 this.timeout(30000)
35 35
36 server = await flushAndRunServer(1) 36 server = await createSingleServer(1)
37 37
38 await setAccessTokensToServers([ server ]) 38 await setAccessTokensToServers([ server ])
39 39