X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fcheck-params%2Fvideo-imports.ts;h=4439810e82cef7d75cf574f34a94a26fb130bced;hb=06ac128958c489efe1008eeca1df683819bd2f18;hp=156a612ee7ab1cd9d861c3990c3f2a4c7d9e1a6b;hpb=419b520ca4434d17f3505013174e195c3a316716;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/check-params/video-imports.ts b/server/tests/api/check-params/video-imports.ts index 156a612ee..4439810e8 100644 --- a/server/tests/api/check-params/video-imports.ts +++ b/server/tests/api/check-params/video-imports.ts @@ -35,7 +35,7 @@ describe('Test video imports API validator', function () { const username = 'user1' const password = 'my super password' - await server.users.create({ username: username, password: password }) + await server.users.create({ username, password }) userAccessToken = await server.login.getAccessToken({ username, password }) { @@ -120,7 +120,8 @@ describe('Test video imports API validator', function () { 'http://127.0.0.1', 'http://127.0.0.1/hello', 'https://192.168.1.42', - 'http://192.168.1.42' + 'http://192.168.1.42', + 'http://127.0.0.1.cpy.re' ] for (const targetUrl of targetUrls) { @@ -271,7 +272,7 @@ describe('Test video imports API validator', function () { }) it('Should succeed with the correct parameters', async function () { - this.timeout(30000) + this.timeout(120000) await makePostBodyRequest({ url: server.url,