aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-28 14:51:00 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-28 14:51:00 +0100
commitc60774b05b12d262ed27d8efeb0905ac283eeebb (patch)
treeb8bec48f57e19f263819ed09a8696060790bc173 /server/tests/api
parent7dbdc3bace5fce434d59ccb76b2e8c699cd07c1c (diff)
downloadPeerTube-c60774b05b12d262ed27d8efeb0905ac283eeebb.tar.gz
PeerTube-c60774b05b12d262ed27d8efeb0905ac283eeebb.tar.zst
PeerTube-c60774b05b12d262ed27d8efeb0905ac283eeebb.zip
Remove max duration/filesize constraints
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/check-params/videos.ts8
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