aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/video-channels.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/video-channels.ts')
-rw-r--r--server/tests/api/check-params/video-channels.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/check-params/video-channels.ts b/server/tests/api/check-params/video-channels.ts
index 8e6e32f20..62b8fa4f6 100644
--- a/server/tests/api/check-params/video-channels.ts
+++ b/server/tests/api/check-params/video-channels.ts
@@ -11,12 +11,12 @@ import {
11 checkBadSortPagination, 11 checkBadSortPagination,
12 checkBadStartPagination, 12 checkBadStartPagination,
13 cleanupTests, 13 cleanupTests,
14 flushAndRunServer, 14 createSingleServer,
15 makeGetRequest, 15 makeGetRequest,
16 makePostBodyRequest, 16 makePostBodyRequest,
17 makePutBodyRequest, 17 makePutBodyRequest,
18 makeUploadRequest, 18 makeUploadRequest,
19 ServerInfo, 19 PeerTubeServer,
20 setAccessTokensToServers 20 setAccessTokensToServers
21} from '@shared/extra-utils' 21} from '@shared/extra-utils'
22import { VideoChannelUpdate } from '@shared/models' 22import { VideoChannelUpdate } from '@shared/models'
@@ -25,7 +25,7 @@ const expect = chai.expect
25 25
26describe('Test video channels API validator', function () { 26describe('Test video channels API validator', function () {
27 const videoChannelPath = '/api/v1/video-channels' 27 const videoChannelPath = '/api/v1/video-channels'
28 let server: ServerInfo 28 let server: PeerTubeServer
29 let accessTokenUser: string 29 let accessTokenUser: string
30 let command: ChannelsCommand 30 let command: ChannelsCommand
31 31
@@ -34,7 +34,7 @@ describe('Test video channels API validator', function () {
34 before(async function () { 34 before(async function () {
35 this.timeout(30000) 35 this.timeout(30000)
36 36
37 server = await flushAndRunServer(1) 37 server = await createSingleServer(1)
38 38
39 await setAccessTokensToServers([ server ]) 39 await setAccessTokensToServers([ server ])
40 40