diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-28 14:51:00 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-28 14:51:00 +0100 |
commit | c60774b05b12d262ed27d8efeb0905ac283eeebb (patch) | |
tree | b8bec48f57e19f263819ed09a8696060790bc173 /server/tests/api/check-params | |
parent | 7dbdc3bace5fce434d59ccb76b2e8c699cd07c1c (diff) | |
download | PeerTube-c60774b05b12d262ed27d8efeb0905ac283eeebb.tar.gz PeerTube-c60774b05b12d262ed27d8efeb0905ac283eeebb.tar.zst PeerTube-c60774b05b12d262ed27d8efeb0905ac283eeebb.zip |
Remove max duration/filesize constraints
Diffstat (limited to 'server/tests/api/check-params')
-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 | ||