diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-07 11:51:09 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | 65e6e2602c0d5521f3a6740f7469bb92830ecb53 (patch) | |
tree | f89024ffff1dafb0281ee2fe028e89b95101bd44 /server/tests/api/live/live-socket-messages.ts | |
parent | bc8090411ddaa8d742ce4de3c83f9dba7bc18e2a (diff) | |
download | PeerTube-65e6e2602c0d5521f3a6740f7469bb92830ecb53.tar.gz PeerTube-65e6e2602c0d5521f3a6740f7469bb92830ecb53.tar.zst PeerTube-65e6e2602c0d5521f3a6740f7469bb92830ecb53.zip |
Introduce config command
Diffstat (limited to 'server/tests/api/live/live-socket-messages.ts')
-rw-r--r-- | server/tests/api/live/live-socket-messages.ts | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/server/tests/api/live/live-socket-messages.ts b/server/tests/api/live/live-socket-messages.ts index e00909ade..0159d5199 100644 --- a/server/tests/api/live/live-socket-messages.ts +++ b/server/tests/api/live/live-socket-messages.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, |
@@ -37,12 +36,14 @@ describe('Test live', function () { | |||
37 | await setAccessTokensToServers(servers) | 36 | await setAccessTokensToServers(servers) |
38 | await setDefaultVideoChannel(servers) | 37 | await setDefaultVideoChannel(servers) |
39 | 38 | ||
40 | await updateCustomSubConfig(servers[0].url, servers[0].accessToken, { | 39 | await servers[0].configCommand.updateCustomSubConfig({ |
41 | live: { | 40 | newConfig: { |
42 | enabled: true, | 41 | live: { |
43 | allowReplay: true, | 42 | enabled: true, |
44 | transcoding: { | 43 | allowReplay: true, |
45 | enabled: false | 44 | transcoding: { |
45 | enabled: false | ||
46 | } | ||
46 | } | 47 | } |
47 | } | 48 | } |
48 | }) | 49 | }) |