aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/cli
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-09-07 21:46:44 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-09-07 21:46:44 +0200
commite95561cdf195d2926e1856ed285c2b86960bc86f (patch)
tree7f25c340e307fcbb13f77769b64e75603520ecc6 /server/tests/cli
parent0cee28c1b251b00067681286d136ca947cf34808 (diff)
downloadPeerTube-e95561cdf195d2926e1856ed285c2b86960bc86f.tar.gz
PeerTube-e95561cdf195d2926e1856ed285c2b86960bc86f.tar.zst
PeerTube-e95561cdf195d2926e1856ed285c2b86960bc86f.zip
Upload a video to /videos/upload
This is an action, not a REST endpoint
Diffstat (limited to 'server/tests/cli')
-rw-r--r--server/tests/cli/reset-password.ts2
-rw-r--r--server/tests/cli/update-host.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/cli/reset-password.ts b/server/tests/cli/reset-password.ts
index bbf0b3d11..c75a1611c 100644
--- a/server/tests/cli/reset-password.ts
+++ b/server/tests/cli/reset-password.ts
@@ -26,7 +26,7 @@ describe('Test reset password scripts', function () {
26 }) 26 })
27 27
28 it('Should change the user password from CLI', async function () { 28 it('Should change the user password from CLI', async function () {
29 this.timeout(20000) 29 this.timeout(30000)
30 30
31 const env = getEnvCli(server) 31 const env = getEnvCli(server)
32 await execCLI(`echo coucou | ${env} npm run reset-password -- -u user_1`) 32 await execCLI(`echo coucou | ${env} npm run reset-password -- -u user_1`)
diff --git a/server/tests/cli/update-host.ts b/server/tests/cli/update-host.ts
index af9703b32..644b3807e 100644
--- a/server/tests/cli/update-host.ts
+++ b/server/tests/cli/update-host.ts
@@ -38,7 +38,7 @@ describe('Test update host scripts', function () {
38 }) 38 })
39 39
40 it('Should update torrent hosts', async function () { 40 it('Should update torrent hosts', async function () {
41 this.timeout(20000) 41 this.timeout(30000)
42 42
43 killallServers([ server ]) 43 killallServers([ server ])
44 server = await runServer(1) 44 server = await runServer(1)