aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/videos.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-09 13:49:50 +0200
committerChocobozzz <me@florianbigard.com>2018-05-09 13:49:50 +0200
commit9419b01352883fd8cd57f95c59555cff6b9c7404 (patch)
tree1258f0fb79b1d52ad4ac035abf0d7e5d6d207064 /server/tests/api/check-params/videos.ts
parenta10fc78bb0e00e98c8f59edc16cd323b9c8b0615 (diff)
downloadPeerTube-9419b01352883fd8cd57f95c59555cff6b9c7404.tar.gz
PeerTube-9419b01352883fd8cd57f95c59555cff6b9c7404.tar.zst
PeerTube-9419b01352883fd8cd57f95c59555cff6b9c7404.zip
Fix tests
Diffstat (limited to 'server/tests/api/check-params/videos.ts')
-rw-r--r--server/tests/api/check-params/videos.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/check-params/videos.ts b/server/tests/api/check-params/videos.ts
index 2b341a5b3..47fad7d5c 100644
--- a/server/tests/api/check-params/videos.ts
+++ b/server/tests/api/check-params/videos.ts
@@ -246,7 +246,7 @@ describe('Test videos API validator', function () {
246 }) 246 })
247 247
248 it('Should fail with a long support text', async function () { 248 it('Should fail with a long support text', async function () {
249 const fields = immutableAssign(baseCorrectParams, { support: 'super'.repeat(70) }) 249 const fields = immutableAssign(baseCorrectParams, { support: 'super'.repeat(150) })
250 const attaches = baseCorrectAttaches 250 const attaches = baseCorrectAttaches
251 251
252 await makeUploadRequest({ url: server.url, path: path + '/upload', token: server.accessToken, fields, attaches }) 252 await makeUploadRequest({ url: server.url, path: path + '/upload', token: server.accessToken, fields, attaches })
@@ -478,7 +478,7 @@ describe('Test videos API validator', function () {
478 }) 478 })
479 479
480 it('Should fail with a long support text', async function () { 480 it('Should fail with a long support text', async function () {
481 const fields = immutableAssign(baseCorrectParams, { support: 'super'.repeat(70) }) 481 const fields = immutableAssign(baseCorrectParams, { support: 'super'.repeat(150) })
482 482
483 await makePutBodyRequest({ url: server.url, path: path + videoId, token: server.accessToken, fields }) 483 await makePutBodyRequest({ url: server.url, path: path + videoId, token: server.accessToken, fields })
484 }) 484 })