diff options
Diffstat (limited to 'server/tests/api/check-params/videos.ts')
-rw-r--r-- | server/tests/api/check-params/videos.ts | 4 |
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 | }) |