aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/cli/peertube.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/cli/peertube.ts')
-rw-r--r--server/tests/cli/peertube.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/cli/peertube.ts b/server/tests/cli/peertube.ts
index f19b6ae22..f2a984962 100644
--- a/server/tests/cli/peertube.ts
+++ b/server/tests/cli/peertube.ts
@@ -7,9 +7,9 @@ import {
7 buildAbsoluteFixturePath, 7 buildAbsoluteFixturePath,
8 cleanupTests, 8 cleanupTests,
9 CLICommand, 9 CLICommand,
10 doubleFollow,
11 createSingleServer, 10 createSingleServer,
12 ImportsCommand, 11 doubleFollow,
12 FIXTURE_URLS,
13 PeerTubeServer, 13 PeerTubeServer,
14 setAccessTokensToServers, 14 setAccessTokensToServers,
15 testHelloWorldRegisteredSettings, 15 testHelloWorldRegisteredSettings,
@@ -117,7 +117,7 @@ describe('Test CLI wrapper', function () {
117 117
118 this.timeout(60000) 118 this.timeout(60000)
119 119
120 const params = `--target-url ${ImportsCommand.getYoutubeVideoUrl()} --channel-name user_channel` 120 const params = `--target-url ${FIXTURE_URLS.youtube} --channel-name user_channel`
121 await cliCommand.execWithEnv(`${cmd} import ${params}`) 121 await cliCommand.execWithEnv(`${cmd} import ${params}`)
122 }) 122 })
123 123
@@ -148,7 +148,7 @@ describe('Test CLI wrapper', function () {
148 148
149 this.timeout(60000) 149 this.timeout(60000)
150 150
151 const params = `--target-url ${ImportsCommand.getYoutubeVideoUrl()} ` + 151 const params = `--target-url ${FIXTURE_URLS.youtube} ` +
152 `--channel-name user_channel --video-name toto --nsfw --support support` 152 `--channel-name user_channel --video-name toto --nsfw --support support`
153 await cliCommand.execWithEnv(`${cmd} import ${params}`) 153 await cliCommand.execWithEnv(`${cmd} import ${params}`)
154 154