diff options
Diffstat (limited to 'server/tests/api/live/live-socket-messages.ts')
-rw-r--r-- | server/tests/api/live/live-socket-messages.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/live/live-socket-messages.ts b/server/tests/api/live/live-socket-messages.ts index 73a300384..4a6677c0a 100644 --- a/server/tests/api/live/live-socket-messages.ts +++ b/server/tests/api/live/live-socket-messages.ts | |||
@@ -57,7 +57,7 @@ describe('Test live', function () { | |||
57 | privacy: VideoPrivacy.PUBLIC | 57 | privacy: VideoPrivacy.PUBLIC |
58 | } | 58 | } |
59 | 59 | ||
60 | const { uuid } = await servers[0].liveCommand.createLive({ fields: liveAttributes }) | 60 | const { uuid } = await servers[0].liveCommand.create({ fields: liveAttributes }) |
61 | return uuid | 61 | return uuid |
62 | } | 62 | } |
63 | 63 | ||
@@ -99,7 +99,7 @@ describe('Test live', function () { | |||
99 | await stopFfmpeg(ffmpegCommand) | 99 | await stopFfmpeg(ffmpegCommand) |
100 | 100 | ||
101 | for (const server of servers) { | 101 | for (const server of servers) { |
102 | await server.liveCommand.waitUntilLiveEnded({ videoId: liveVideoUUID }) | 102 | await server.liveCommand.waitUntilEnded({ videoId: liveVideoUUID }) |
103 | } | 103 | } |
104 | await waitJobs(servers) | 104 | await waitJobs(servers) |
105 | 105 | ||