diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-29 11:22:27 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-29 11:39:53 +0200 |
commit | 09becad8e85cc4007ff862b26fa4195f3d0e7c8d (patch) | |
tree | 4abea8adbff0487a57bce1397f99bfc02949d65a /server/tests/api | |
parent | 09e10ac0c99c66049a9ba07da59067baadf5112e (diff) | |
download | PeerTube-09becad8e85cc4007ff862b26fa4195f3d0e7c8d.tar.gz PeerTube-09becad8e85cc4007ff862b26fa4195f3d0e7c8d.tar.zst PeerTube-09becad8e85cc4007ff862b26fa4195f3d0e7c8d.zip |
Add reverse proxy test in travis
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/index-fast.ts | 1 | ||||
-rw-r--r-- | server/tests/api/server/reverse-proxy.ts | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/api/index-fast.ts b/server/tests/api/index-fast.ts index 464dcb5e0..aa063b97a 100644 --- a/server/tests/api/index-fast.ts +++ b/server/tests/api/index-fast.ts | |||
@@ -11,3 +11,4 @@ import './videos/video-privacy' | |||
11 | import './videos/services' | 11 | import './videos/services' |
12 | import './server/email' | 12 | import './server/email' |
13 | import './server/config' | 13 | import './server/config' |
14 | import './server/reverse-proxy' | ||
diff --git a/server/tests/api/server/reverse-proxy.ts b/server/tests/api/server/reverse-proxy.ts index aa4b3ae81..4c2655f64 100644 --- a/server/tests/api/server/reverse-proxy.ts +++ b/server/tests/api/server/reverse-proxy.ts | |||
@@ -64,7 +64,7 @@ describe('Test application behind a reverse proxy', function () { | |||
64 | it('Should rate limit logins', async function () { | 64 | it('Should rate limit logins', async function () { |
65 | const user = { username: 'root', password: 'fail' } | 65 | const user = { username: 'root', password: 'fail' } |
66 | 66 | ||
67 | for (let i = 0; i < 9; i++) { | 67 | for (let i = 0; i < 14; i++) { |
68 | await userLogin(server, user, 400) | 68 | await userLogin(server, user, 400) |
69 | } | 69 | } |
70 | 70 | ||