aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r--server/tests/api/check-params/video-comments.ts4
1 files changed, 2 insertions, 2 deletions
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 () {
133 133
134 it('Should fail with a long comment', async function () { 134 it('Should fail with a long comment', async function () {
135 const fields = { 135 const fields = {
136 text: 'h'.repeat(3001) 136 text: 'h'.repeat(10001)
137 } 137 }
138 await makePostBodyRequest({ url: server.url, path: pathThread, token: server.accessToken, fields }) 138 await makePostBodyRequest({ url: server.url, path: pathThread, token: server.accessToken, fields })
139 }) 139 })
@@ -176,7 +176,7 @@ describe('Test video comments API validator', function () {
176 176
177 it('Should fail with a long comment', async function () { 177 it('Should fail with a long comment', async function () {
178 const fields = { 178 const fields = {
179 text: 'h'.repeat(3001) 179 text: 'h'.repeat(10001)
180 } 180 }
181 await makePostBodyRequest({ url: server.url, path: pathComment, token: server.accessToken, fields }) 181 await makePostBodyRequest({ url: server.url, path: pathComment, token: server.accessToken, fields })
182 }) 182 })