From b49f22d8f9a52ab75fd38db2d377249eb58fa678 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 8 Dec 2020 14:30:29 +0100 Subject: Upgrade sequelize to v6 --- server/tests/api/live/live.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'server/tests/api') 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 () { it('Should save a live replay', async function () { this.timeout(60000) - await waitJobs(servers) - - const res = await getVideo(servers[0].url, liveVideoReplayId) - const video: VideoDetails = res.body - - expect(video.state.id).to.equal(VideoState.PUBLISHED) + await waitUntilLivePublished(servers[0].url, servers[0].accessToken, liveVideoReplayId) }) }) -- cgit v1.2.3