diff options
Diffstat (limited to 'server/tests/api/check-params/live.ts')
-rw-r--r-- | server/tests/api/check-params/live.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/api/check-params/live.ts b/server/tests/api/check-params/live.ts index 78863fd50..4b54fc31c 100644 --- a/server/tests/api/check-params/live.ts +++ b/server/tests/api/check-params/live.ts | |||
@@ -13,8 +13,7 @@ import { | |||
13 | sendRTMPStream, | 13 | sendRTMPStream, |
14 | ServerInfo, | 14 | ServerInfo, |
15 | setAccessTokensToServers, | 15 | setAccessTokensToServers, |
16 | stopFfmpeg, | 16 | stopFfmpeg |
17 | uploadVideoAndGetId | ||
18 | } from '@shared/extra-utils' | 17 | } from '@shared/extra-utils' |
19 | import { VideoCreateResult, VideoPrivacy } from '@shared/models' | 18 | import { VideoCreateResult, VideoPrivacy } from '@shared/models' |
20 | 19 | ||
@@ -58,7 +57,7 @@ describe('Test video lives API validator', function () { | |||
58 | } | 57 | } |
59 | 58 | ||
60 | { | 59 | { |
61 | videoIdNotLive = (await uploadVideoAndGetId({ server, videoName: 'not live' })).id | 60 | videoIdNotLive = (await server.videosCommand.quickUpload({ name: 'not live' })).id |
62 | } | 61 | } |
63 | 62 | ||
64 | command = server.liveCommand | 63 | command = server.liveCommand |