aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live/live-permanent.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/live/live-permanent.ts')
-rw-r--r--server/tests/api/live/live-permanent.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/live/live-permanent.ts b/server/tests/api/live/live-permanent.ts
index 54e4010e9..2701c65e3 100644
--- a/server/tests/api/live/live-permanent.ts
+++ b/server/tests/api/live/live-permanent.ts
@@ -20,7 +20,7 @@ import {
20 updateLive, 20 updateLive,
21 wait, 21 wait,
22 waitJobs, 22 waitJobs,
23 waitUntilLiveStarts 23 waitUntilLivePublished
24} from '../../../../shared/extra-utils' 24} from '../../../../shared/extra-utils'
25 25
26const expect = chai.expect 26const expect = chai.expect
@@ -116,7 +116,7 @@ describe('Permenant live', function () {
116 const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID) 116 const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID)
117 117
118 for (const server of servers) { 118 for (const server of servers) {
119 await waitUntilLiveStarts(server.url, server.accessToken, videoUUID) 119 await waitUntilLivePublished(server.url, server.accessToken, videoUUID)
120 } 120 }
121 121
122 await checkVideoState(videoUUID, VideoState.PUBLISHED) 122 await checkVideoState(videoUUID, VideoState.PUBLISHED)
@@ -171,7 +171,7 @@ describe('Permenant live', function () {
171 const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID) 171 const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID)
172 172
173 for (const server of servers) { 173 for (const server of servers) {
174 await waitUntilLiveStarts(server.url, server.accessToken, videoUUID) 174 await waitUntilLivePublished(server.url, server.accessToken, videoUUID)
175 } 175 }
176 176
177 await checkVideoState(videoUUID, VideoState.PUBLISHED) 177 await checkVideoState(videoUUID, VideoState.PUBLISHED)