diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-20 16:35:48 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-20 16:35:48 +0200 |
commit | 5c142a4bab955d2dbe831efd537c2fe52246db13 (patch) | |
tree | cca5f75aadb33eccbefe675cc1812af27f3eb6f1 /server/tests/cli | |
parent | 00f9e41ebfaed4867e971bfb8042e3359eb67eda (diff) | |
download | PeerTube-5c142a4bab955d2dbe831efd537c2fe52246db13.tar.gz PeerTube-5c142a4bab955d2dbe831efd537c2fe52246db13.tar.zst PeerTube-5c142a4bab955d2dbe831efd537c2fe52246db13.zip |
Fix peertube script
Diffstat (limited to 'server/tests/cli')
-rw-r--r-- | server/tests/cli/index.ts | 2 | ||||
-rw-r--r-- | server/tests/cli/peertube.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/cli/index.ts b/server/tests/cli/index.ts index 33e33a070..6201314ce 100644 --- a/server/tests/cli/index.ts +++ b/server/tests/cli/index.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | // Order of the tests we want to execute | 1 | // Order of the tests we want to execute |
2 | import './create-transcoding-job' | ||
3 | import './create-import-video-file-job' | 2 | import './create-import-video-file-job' |
3 | import './create-transcoding-job' | ||
4 | import './peertube' | 4 | import './peertube' |
5 | import './reset-password' | 5 | import './reset-password' |
6 | import './update-host' | 6 | import './update-host' |
diff --git a/server/tests/cli/peertube.ts b/server/tests/cli/peertube.ts index 548fd1257..65cb05a1a 100644 --- a/server/tests/cli/peertube.ts +++ b/server/tests/cli/peertube.ts | |||
@@ -40,7 +40,7 @@ describe('Test CLI wrapper', function () { | |||
40 | this.timeout(60000) | 40 | this.timeout(60000) |
41 | 41 | ||
42 | const env = getEnvCli(server) | 42 | const env = getEnvCli(server) |
43 | const stdout = await execCLI(`${env} ` + cmd + ` auth add --url ${server.url} -U user_1 -p "super password"`) | 43 | await execCLI(`${env} ` + cmd + ` auth add --url ${server.url} -U user_1 -p "super password"`) |
44 | }) | 44 | }) |
45 | 45 | ||
46 | after(async function () { | 46 | after(async function () { |