aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/live.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/live.ts')
-rw-r--r--server/tests/api/check-params/live.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/check-params/live.ts b/server/tests/api/check-params/live.ts
index 40dca908b..7e76caf6e 100644
--- a/server/tests/api/check-params/live.ts
+++ b/server/tests/api/check-params/live.ts
@@ -22,7 +22,7 @@ import {
22 updateLive, 22 updateLive,
23 uploadVideoAndGetId, 23 uploadVideoAndGetId,
24 userLogin, 24 userLogin,
25 waitUntilLiveStarts 25 waitUntilLivePublished
26} from '../../../../shared/extra-utils' 26} from '../../../../shared/extra-utils'
27import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' 27import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes'
28 28
@@ -409,7 +409,7 @@ describe('Test video lives API validator', function () {
409 409
410 const command = sendRTMPStream(live.rtmpUrl, live.streamKey) 410 const command = sendRTMPStream(live.rtmpUrl, live.streamKey)
411 411
412 await waitUntilLiveStarts(server.url, server.accessToken, videoId) 412 await waitUntilLivePublished(server.url, server.accessToken, videoId)
413 await updateLive(server.url, server.accessToken, videoId, {}, HttpStatusCode.BAD_REQUEST_400) 413 await updateLive(server.url, server.accessToken, videoId, {}, HttpStatusCode.BAD_REQUEST_400)
414 414
415 await stopFfmpeg(command) 415 await stopFfmpeg(command)
@@ -423,7 +423,7 @@ describe('Test video lives API validator', function () {
423 423
424 const command = sendRTMPStream(live.rtmpUrl, live.streamKey) 424 const command = sendRTMPStream(live.rtmpUrl, live.streamKey)
425 425
426 await waitUntilLiveStarts(server.url, server.accessToken, videoId) 426 await waitUntilLivePublished(server.url, server.accessToken, videoId)
427 427
428 await runAndTestFfmpegStreamError(server.url, server.accessToken, videoId, true) 428 await runAndTestFfmpegStreamError(server.url, server.accessToken, videoId, true)
429 429