From 53eb90c0ab584ee48774e15ee7c0e764cfe4559d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 26 Mar 2018 09:48:10 +0200 Subject: Fix check comments params unit tests --- 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 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 () { 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 }) }) -- cgit v1.2.3