-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#164069216 Create descriptive signup/registration validation error messages #11
Conversation
8a84a43
to
e8eadec
Compare
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
e48b4bb
4c953eb
to
2c89583
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good work, but please can you squash 3 commits to 1
Good work Roy, however work on squashing the commits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
6b80943
to
42cf531
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good work @wasibani-roy, i have looked through it and its really working
@@ -49,3 +42,27 @@ def test_email_exits(self): | |||
self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST) | |||
self.assertEqual( | |||
response.data['errors']['email'][0], "user with this email already exists.") | |||
|
|||
def test_register_invalid_email(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the hard, adding other tests and raising the test coverage. but please can you add doc strings for more clarity on your tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work Roy
- Ensure that email submitted by user is correct - Ensure that password is more than 8 characters and alphanumeric - Ensure the the email used has not been used to create a previous account - Ensure that the username is not already in use within the system [Finishes #164069216]
9486d8e
42cf531
to
9486d8e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wasibani-roy, i have reviewed your work, you have implemented all the feedback. Thanks for the good work
What does this PR do?
This PR creates validation/error messages to give users descriptive feedback on any errors encountered or success archived
Description of the tasks to be completed?
How should this be manually tested?
What are the relevant pivotal tracker stories?
Screenshots
![screenshot 2019-02-28 at 13 01 17](https://user-images.githubusercontent.com/40163337/53558668-87eb8c80-3b59-11e9-8add-e1965b59d47c.png)