aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests')
-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 3fde9bd94..5241832fe 100644
--- a/server/tests/api/check-params/video-comments.ts
+++ b/server/tests/api/check-params/video-comments.ts
@@ -117,7 +117,7 @@ describe('Test video comments API validator', function () {
117 117
118 it('Should fail with a short comment', async function () { 118 it('Should fail with a short comment', async function () {
119 const fields = { 119 const fields = {
120 text: 'h'.repeat(3001) 120 text: ''
121 } 121 }
122 await makePostBodyRequest({ url: server.url, path: pathThread, token: server.accessToken, fields }) 122 await makePostBodyRequest({ url: server.url, path: pathThread, token: server.accessToken, fields })
123 }) 123 })
@@ -160,7 +160,7 @@ describe('Test video comments API validator', function () {
160 160
161 it('Should fail with a short comment', async function () { 161 it('Should fail with a short comment', async function () {
162 const fields = { 162 const fields = {
163 text: 'h'.repeat(3001) 163 text: ''
164 } 164 }
165 await makePostBodyRequest({ url: server.url, path: pathComment, token: server.accessToken, fields }) 165 await makePostBodyRequest({ url: server.url, path: pathComment, token: server.accessToken, fields })
166 }) 166 })