From df14f5cdf6c303b5ad6b38d72391aed0dea124bf Mon Sep 17 00:00:00 2001 From: Josue Balandrano Coronel Date: Mon, 15 Apr 2019 09:16:15 -0500 Subject: [PATCH] [BB-1132] Decrease `NAME_MIN_LENGTH` to 1 --- common/djangoapps/student/forms.py | 2 +- common/test/acceptance/tests/lms/test_account_settings.py | 2 +- lms/djangoapps/verify_student/tests/test_views.py | 4 ++-- lms/djangoapps/verify_student/views.py | 2 +- openedx/core/djangoapps/user_api/accounts/__init__.py | 2 +- openedx/core/djangoapps/user_api/accounts/serializers.py | 2 +- .../core/djangoapps/user_api/accounts/tests/test_views.py | 2 +- .../djangoapps/user_authn/views/tests/test_register.py | 7 +++---- 8 files changed, 11 insertions(+), 12 deletions(-) diff --git a/common/djangoapps/student/forms.py b/common/djangoapps/student/forms.py index 4a6f236b0d..4d96fdabb6 100644 --- a/common/djangoapps/student/forms.py +++ b/common/djangoapps/student/forms.py @@ -248,7 +248,7 @@ class AccountCreationForm(forms.Form): """ _EMAIL_INVALID_MSG = _("A properly formatted e-mail is required") - _NAME_TOO_SHORT_MSG = _("Your legal name must be a minimum of two characters long") + _NAME_TOO_SHORT_MSG = _("Your legal name must be a minimum of one character long") # TODO: Resolve repetition diff --git a/common/test/acceptance/tests/lms/test_account_settings.py b/common/test/acceptance/tests/lms/test_account_settings.py index 3c0db1003b..4112132272 100644 --- a/common/test/acceptance/tests/lms/test_account_settings.py +++ b/common/test/acceptance/tests/lms/test_account_settings.py @@ -291,7 +291,7 @@ class AccountSettingsPageTest(AccountSettingsTestMixin, AcceptanceTest): u'name', u'Full Name', self.full_name, - u'@', + u' ', [u'

another name

', u'