Increase video comments limit
[oweals/peertube.git] / server / tests / api / check-params / video-comments.ts
index e67cc01fa42c4b0cd926b9046153e967a6920530..38f0695039d323c5935051f284ae339204311395 100644 (file)
@@ -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 })
     })