diff options
Diffstat (limited to 'server/tests/cli/create-transcoding-job.ts')
-rw-r--r-- | server/tests/cli/create-transcoding-job.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/cli/create-transcoding-job.ts b/server/tests/cli/create-transcoding-job.ts index be46dec25..e3211882d 100644 --- a/server/tests/cli/create-transcoding-job.ts +++ b/server/tests/cli/create-transcoding-job.ts | |||
@@ -10,7 +10,6 @@ import { | |||
10 | getVideosList, | 10 | getVideosList, |
11 | ServerInfo, | 11 | ServerInfo, |
12 | setAccessTokensToServers, | 12 | setAccessTokensToServers, |
13 | updateCustomSubConfig, | ||
14 | uploadVideo | 13 | uploadVideo |
15 | } from '../../../shared/extra-utils' | 14 | } from '../../../shared/extra-utils' |
16 | import { waitJobs } from '../../../shared/extra-utils/server/jobs' | 15 | import { waitJobs } from '../../../shared/extra-utils/server/jobs' |
@@ -47,7 +46,7 @@ describe('Test create transcoding jobs', function () { | |||
47 | servers = await flushAndRunMultipleServers(2) | 46 | servers = await flushAndRunMultipleServers(2) |
48 | await setAccessTokensToServers(servers) | 47 | await setAccessTokensToServers(servers) |
49 | 48 | ||
50 | await updateCustomSubConfig(servers[0].url, servers[0].accessToken, config) | 49 | await servers[0].configCommand.updateCustomSubConfig({ newConfig: config }) |
51 | 50 | ||
52 | await doubleFollow(servers[0], servers[1]) | 51 | await doubleFollow(servers[0], servers[1]) |
53 | 52 | ||
@@ -199,7 +198,7 @@ describe('Test create transcoding jobs', function () { | |||
199 | this.timeout(120000) | 198 | this.timeout(120000) |
200 | 199 | ||
201 | config.transcoding.hls.enabled = true | 200 | config.transcoding.hls.enabled = true |
202 | await updateCustomSubConfig(servers[0].url, servers[0].accessToken, config) | 201 | await servers[0].configCommand.updateCustomSubConfig({ newConfig: config }) |
203 | 202 | ||
204 | await servers[0].cliCommand.execWithEnv(`npm run create-transcoding-job -- -v ${videosUUID[4]}`) | 203 | await servers[0].cliCommand.execWithEnv(`npm run create-transcoding-job -- -v ${videosUUID[4]}`) |
205 | 204 | ||