From c60774b05b12d262ed27d8efeb0905ac283eeebb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 28 Nov 2017 14:51:00 +0100 Subject: Remove max duration/filesize constraints --- server/tests/api/check-params/videos.ts | 8 -------- 1 file changed, 8 deletions(-) (limited to 'server/tests/api') 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 () { await makePostUploadRequest({ url: server.url, path: path + '/upload', token: server.accessToken, fields, attaches }) }) - it('Should fail with a too big duration', async function () { - const fields = getCompleteVideoUploadAttributes() - const attaches = { - 'videofile': join(__dirname, '..', 'fixtures', 'video_too_long.webm') - } - await makePostUploadRequest({ url: server.url, path: path + '/upload', token: server.accessToken, fields, attaches }) - }) - it('Should succeed with the correct parameters', async function () { this.timeout(10000) -- cgit v1.2.3