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/videos/video-change-ownership.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/videos/video-change-ownership.ts')
-rw-r--r-- | server/tests/api/videos/video-change-ownership.ts | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/server/tests/api/videos/video-change-ownership.ts b/server/tests/api/videos/video-change-ownership.ts index a3384851b..89dba14b1 100644 --- a/server/tests/api/videos/video-change-ownership.ts +++ b/server/tests/api/videos/video-change-ownership.ts | |||
@@ -20,7 +20,6 @@ import { | |||
20 | ServerInfo, | 20 | ServerInfo, |
21 | setAccessTokensToServers, | 21 | setAccessTokensToServers, |
22 | setDefaultVideoChannel, | 22 | setDefaultVideoChannel, |
23 | updateCustomSubConfig, | ||
24 | uploadVideo, | 23 | uploadVideo, |
25 | userLogin | 24 | userLogin |
26 | } from '../../../../shared/extra-utils' | 25 | } from '../../../../shared/extra-utils' |
@@ -58,12 +57,14 @@ describe('Test video change ownership - nominal', function () { | |||
58 | await setAccessTokensToServers(servers) | 57 | await setAccessTokensToServers(servers) |
59 | await setDefaultVideoChannel(servers) | 58 | await setDefaultVideoChannel(servers) |
60 | 59 | ||
61 | await updateCustomSubConfig(servers[0].url, servers[0].accessToken, { | 60 | await servers[0].configCommand.updateCustomSubConfig({ |
62 | transcoding: { | 61 | newConfig: { |
63 | enabled: false | 62 | transcoding: { |
64 | }, | 63 | enabled: false |
65 | live: { | 64 | }, |
66 | enabled: true | 65 | live: { |
66 | enabled: true | ||
67 | } | ||
67 | } | 68 | } |
68 | }) | 69 | }) |
69 | 70 | ||