diff options
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 | ||