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 --- client/src/app/shared/forms/form-validators/video-comment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared/forms') diff --git a/client/src/app/shared/forms/form-validators/video-comment.ts b/client/src/app/shared/forms/form-validators/video-comment.ts index 42a97e300..290d83195 100644 --- a/client/src/app/shared/forms/form-validators/video-comment.ts +++ b/client/src/app/shared/forms/form-validators/video-comment.ts @@ -1,7 +1,7 @@ import { Validators } from '@angular/forms' export const VIDEO_COMMENT_TEXT = { - VALIDATORS: [ Validators.required, Validators.minLength(2), Validators.maxLength(3000) ], + VALIDATORS: [ Validators.required, Validators.minLength(1), Validators.maxLength(3000) ], MESSAGES: { 'required': 'Comment is required.', 'minlength': 'Comment must be at least 2 characters long.', -- cgit v1.2.3