diff options
Diffstat (limited to 'server/tests/api/live/live.ts')
-rw-r--r-- | server/tests/api/live/live.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index fdfc6105f..a74988aba 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts | |||
@@ -686,12 +686,7 @@ describe('Test live', function () { | |||
686 | it('Should save a live replay', async function () { | 686 | it('Should save a live replay', async function () { |
687 | this.timeout(60000) | 687 | this.timeout(60000) |
688 | 688 | ||
689 | await waitJobs(servers) | 689 | await waitUntilLivePublished(servers[0].url, servers[0].accessToken, liveVideoReplayId) |
690 | |||
691 | const res = await getVideo(servers[0].url, liveVideoReplayId) | ||
692 | const video: VideoDetails = res.body | ||
693 | |||
694 | expect(video.state.id).to.equal(VideoState.PUBLISHED) | ||
695 | }) | 690 | }) |
696 | }) | 691 | }) |
697 | 692 | ||