diff options
Diffstat (limited to 'server/tests/api/live/live-views.ts')
-rw-r--r-- | server/tests/api/live/live-views.ts | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/server/tests/api/live/live-views.ts b/server/tests/api/live/live-views.ts index a44d21ffa..ca571c962 100644 --- a/server/tests/api/live/live-views.ts +++ b/server/tests/api/live/live-views.ts | |||
@@ -15,7 +15,6 @@ import { | |||
15 | setAccessTokensToServers, | 15 | setAccessTokensToServers, |
16 | setDefaultVideoChannel, | 16 | setDefaultVideoChannel, |
17 | stopFfmpeg, | 17 | stopFfmpeg, |
18 | updateCustomSubConfig, | ||
19 | viewVideo, | 18 | viewVideo, |
20 | wait, | 19 | wait, |
21 | waitJobs, | 20 | waitJobs, |
@@ -36,12 +35,14 @@ describe('Test live', function () { | |||
36 | await setAccessTokensToServers(servers) | 35 | await setAccessTokensToServers(servers) |
37 | await setDefaultVideoChannel(servers) | 36 | await setDefaultVideoChannel(servers) |
38 | 37 | ||
39 | await updateCustomSubConfig(servers[0].url, servers[0].accessToken, { | 38 | await servers[0].configCommand.updateCustomSubConfig({ |
40 | live: { | 39 | newConfig: { |
41 | enabled: true, | 40 | live: { |
42 | allowReplay: true, | 41 | enabled: true, |
43 | transcoding: { | 42 | allowReplay: true, |
44 | enabled: false | 43 | transcoding: { |
44 | enabled: false | ||
45 | } | ||
45 | } | 46 | } |
46 | } | 47 | } |
47 | }) | 48 | }) |