diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/check-params/videos.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/server/tests/api/check-params/videos.ts b/server/tests/api/check-params/videos.ts index 7f5609784..2962f5640 100644 --- a/server/tests/api/check-params/videos.ts +++ b/server/tests/api/check-params/videos.ts | |||
@@ -333,14 +333,6 @@ describe('Test videos API validator', function () { | |||
333 | await makePostUploadRequest({ url: server.url, path: path + '/upload', token: server.accessToken, fields, attaches }) | 333 | await makePostUploadRequest({ url: server.url, path: path + '/upload', token: server.accessToken, fields, attaches }) |
334 | }) | 334 | }) |
335 | 335 | ||
336 | it('Should fail with a too big duration', async function () { | ||
337 | const fields = getCompleteVideoUploadAttributes() | ||
338 | const attaches = { | ||
339 | 'videofile': join(__dirname, '..', 'fixtures', 'video_too_long.webm') | ||
340 | } | ||
341 | await makePostUploadRequest({ url: server.url, path: path + '/upload', token: server.accessToken, fields, attaches }) | ||
342 | }) | ||
343 | |||
344 | it('Should succeed with the correct parameters', async function () { | 336 | it('Should succeed with the correct parameters', async function () { |
345 | this.timeout(10000) | 337 | this.timeout(10000) |
346 | 338 | ||