aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-26 09:48:10 +0200
committerChocobozzz <me@florianbigard.com>2018-03-26 09:48:20 +0200
commit53eb90c0ab584ee48774e15ee7c0e764cfe4559d (patch)
tree9eba75b6026f65b22083d9e3c15634074e924880 /client
parentae09ed2c6a4d22262b02870905d16211994662b6 (diff)
downloadPeerTube-53eb90c0ab584ee48774e15ee7c0e764cfe4559d.tar.gz
PeerTube-53eb90c0ab584ee48774e15ee7c0e764cfe4559d.tar.zst
PeerTube-53eb90c0ab584ee48774e15ee7c0e764cfe4559d.zip
Fix check comments params unit tests
Diffstat (limited to 'client')
-rw-r--r--client/src/app/shared/forms/form-validators/video-comment.ts2
1 files changed, 1 insertions, 1 deletions
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 @@
1import { Validators } from '@angular/forms' 1import { Validators } from '@angular/forms'
2 2
3export const VIDEO_COMMENT_TEXT = { 3export const VIDEO_COMMENT_TEXT = {
4 VALIDATORS: [ Validators.required, Validators.minLength(2), Validators.maxLength(3000) ], 4 VALIDATORS: [ Validators.required, Validators.minLength(1), Validators.maxLength(3000) ],
5 MESSAGES: { 5 MESSAGES: {
6 'required': 'Comment is required.', 6 'required': 'Comment is required.',
7 'minlength': 'Comment must be at least 2 characters long.', 7 'minlength': 'Comment must be at least 2 characters long.',