aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live/live-save-replay.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/live/live-save-replay.ts')
-rw-r--r--server/tests/api/live/live-save-replay.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/api/live/live-save-replay.ts b/server/tests/api/live/live-save-replay.ts
index 9acd5601d..363fb561c 100644
--- a/server/tests/api/live/live-save-replay.ts
+++ b/server/tests/api/live/live-save-replay.ts
@@ -6,7 +6,6 @@ import { FfmpegCommand } from 'fluent-ffmpeg'
6import { LiveVideoCreate, VideoDetails, VideoPrivacy, VideoState } from '@shared/models' 6import { LiveVideoCreate, VideoDetails, VideoPrivacy, VideoState } from '@shared/models'
7import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' 7import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes'
8import { 8import {
9 addVideoToBlacklist,
10 checkLiveCleanup, 9 checkLiveCleanup,
11 cleanupTests, 10 cleanupTests,
12 ConfigCommand, 11 ConfigCommand,
@@ -172,7 +171,7 @@ describe('Save replay setting', function () {
172 await checkVideosExist(liveVideoUUID, true, HttpStatusCode.OK_200) 171 await checkVideosExist(liveVideoUUID, true, HttpStatusCode.OK_200)
173 172
174 await Promise.all([ 173 await Promise.all([
175 addVideoToBlacklist(servers[0].url, servers[0].accessToken, liveVideoUUID, 'bad live', true), 174 servers[0].blacklistCommand.add({ videoId: liveVideoUUID, reason: 'bad live', unfederate: true }),
176 testFfmpegStreamError(ffmpegCommand, true) 175 testFfmpegStreamError(ffmpegCommand, true)
177 ]) 176 ])
178 177
@@ -280,7 +279,7 @@ describe('Save replay setting', function () {
280 await checkVideosExist(liveVideoUUID, true, HttpStatusCode.OK_200) 279 await checkVideosExist(liveVideoUUID, true, HttpStatusCode.OK_200)
281 280
282 await Promise.all([ 281 await Promise.all([
283 addVideoToBlacklist(servers[0].url, servers[0].accessToken, liveVideoUUID, 'bad live', true), 282 servers[0].blacklistCommand.add({ videoId: liveVideoUUID, reason: 'bad live', unfederate: true }),
284 testFfmpegStreamError(ffmpegCommand, true) 283 testFfmpegStreamError(ffmpegCommand, true)
285 ]) 284 ])
286 285