mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-10 22:44:47 +02:00
Add a missing ., add unit tests for char limits
This commit is contained in:
parent
4da408cf68
commit
5450ac97a5
2 changed files with 39 additions and 4 deletions
|
@ -318,7 +318,7 @@ class TypeOfWorkForm(RegistrarForm):
|
|||
validators=[
|
||||
MaxLengthValidator(
|
||||
1000,
|
||||
message="Response must be less than 1000 characters",
|
||||
message="Response must be less than 1000 characters.",
|
||||
)
|
||||
],
|
||||
error_messages={"required": "Enter the type of work your organization does."},
|
||||
|
@ -336,7 +336,7 @@ class TypeOfWorkForm(RegistrarForm):
|
|||
validators=[
|
||||
MaxLengthValidator(
|
||||
1000,
|
||||
message="Response must be less than 1000 characters",
|
||||
message="Response must be less than 1000 characters.",
|
||||
)
|
||||
],
|
||||
error_messages={
|
||||
|
@ -569,7 +569,7 @@ class PurposeForm(RegistrarForm):
|
|||
validators=[
|
||||
MaxLengthValidator(
|
||||
1000,
|
||||
message="Response must be less than 1000 characters",
|
||||
message="Response must be less than 1000 characters.",
|
||||
)
|
||||
],
|
||||
error_messages={
|
||||
|
@ -717,7 +717,7 @@ class AnythingElseForm(RegistrarForm):
|
|||
validators=[
|
||||
MaxLengthValidator(
|
||||
1000,
|
||||
message="Response must be less than 1000 characters",
|
||||
message="Response must be less than 1000 characters.",
|
||||
)
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue