diff options
Diffstat (limited to 'server/tests/api/check-params/live.ts')
-rw-r--r-- | server/tests/api/check-params/live.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/check-params/live.ts b/server/tests/api/check-params/live.ts index 20f27dd1d..eb5cdd1d8 100644 --- a/server/tests/api/check-params/live.ts +++ b/server/tests/api/check-params/live.ts | |||
@@ -6,12 +6,12 @@ import { HttpStatusCode } from '@shared/core-utils' | |||
6 | import { | 6 | import { |
7 | buildAbsoluteFixturePath, | 7 | buildAbsoluteFixturePath, |
8 | cleanupTests, | 8 | cleanupTests, |
9 | flushAndRunServer, | 9 | createSingleServer, |
10 | LiveCommand, | 10 | LiveCommand, |
11 | makePostBodyRequest, | 11 | makePostBodyRequest, |
12 | makeUploadRequest, | 12 | makeUploadRequest, |
13 | sendRTMPStream, | 13 | sendRTMPStream, |
14 | ServerInfo, | 14 | PeerTubeServer, |
15 | setAccessTokensToServers, | 15 | setAccessTokensToServers, |
16 | stopFfmpeg | 16 | stopFfmpeg |
17 | } from '@shared/extra-utils' | 17 | } from '@shared/extra-utils' |
@@ -19,7 +19,7 @@ import { VideoCreateResult, VideoPrivacy } from '@shared/models' | |||
19 | 19 | ||
20 | describe('Test video lives API validator', function () { | 20 | describe('Test video lives API validator', function () { |
21 | const path = '/api/v1/videos/live' | 21 | const path = '/api/v1/videos/live' |
22 | let server: ServerInfo | 22 | let server: PeerTubeServer |
23 | let userAccessToken = '' | 23 | let userAccessToken = '' |
24 | let channelId: number | 24 | let channelId: number |
25 | let video: VideoCreateResult | 25 | let video: VideoCreateResult |
@@ -31,7 +31,7 @@ describe('Test video lives API validator', function () { | |||
31 | before(async function () { | 31 | before(async function () { |
32 | this.timeout(30000) | 32 | this.timeout(30000) |
33 | 33 | ||
34 | server = await flushAndRunServer(1) | 34 | server = await createSingleServer(1) |
35 | 35 | ||
36 | await setAccessTokensToServers([ server ]) | 36 | await setAccessTokensToServers([ server ]) |
37 | 37 | ||