]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/check-params/video-comments.ts
Update video channel routes
[github/Chocobozzz/PeerTube.git] / server / tests / api / check-params / video-comments.ts
index 3fde9bd947f8e6c272f6449da7cf52fe6654e9f9..5241832fead9f4920007cd0d2e62a44dafaf98a4 100644 (file)
@@ -117,7 +117,7 @@ describe('Test video comments API validator', function () {
 
     it('Should fail with a short comment', async function () {
       const fields = {
-        text: 'h'.repeat(3001)
+        text: ''
       }
       await makePostBodyRequest({ url: server.url, path: pathThread, token: server.accessToken, fields })
     })
@@ -160,7 +160,7 @@ describe('Test video comments API validator', function () {
 
     it('Should fail with a short comment', async function () {
       const fields = {
-        text: 'h'.repeat(3001)
+        text: ''
       }
       await makePostBodyRequest({ url: server.url, path: pathComment, token: server.accessToken, fields })
     })