From 298b3fd31529c047e87d34d397af3b08833bd8d0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 5 May 2020 16:48:30 +0200 Subject: Increase video comments limit --- server/tests/api/check-params/video-comments.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/api/check-params') diff --git a/server/tests/api/check-params/video-comments.ts b/server/tests/api/check-params/video-comments.ts index e67cc01fa..38f069503 100644 --- a/server/tests/api/check-params/video-comments.ts +++ b/server/tests/api/check-params/video-comments.ts @@ -133,7 +133,7 @@ describe('Test video comments API validator', function () { it('Should fail with a long comment', async function () { const fields = { - text: 'h'.repeat(3001) + text: 'h'.repeat(10001) } await makePostBodyRequest({ url: server.url, path: pathThread, token: server.accessToken, fields }) }) @@ -176,7 +176,7 @@ describe('Test video comments API validator', function () { it('Should fail with a long comment', async function () { const fields = { - text: 'h'.repeat(3001) + text: 'h'.repeat(10001) } await makePostBodyRequest({ url: server.url, path: pathComment, token: server.accessToken, fields }) }) -- cgit v1.2.3