Skip to content
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

added user validation stuff #11

Merged
merged 9 commits into from
Jun 14, 2023
Merged

added user validation stuff #11

merged 9 commits into from
Jun 14, 2023

Conversation

emmadavids
Copy link
Collaborator

No description provided.

adrianHards
adrianHards previously approved these changes Jun 14, 2023
Copy link
Collaborator

@adrianHards adrianHards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

like model file not the latest version, did you pull latest?

I made one small change to the seed data file (didn't have a username). Happy to approve but think there's room for some more unit tests;

  • trying to create a user with an existing email address
  • trying to create a user with an existing username
  • password validations (too short, white spaces, etc.)
  • unable to create a user with an invalid username/password/email address

We can make this a separate ticket though.

@adrianHards adrianHards self-requested a review June 14, 2023 14:06
@adrianHards adrianHards dismissed their stale review June 14, 2023 14:06

not up to date with latest

Copy link
Collaborator

@adrianHards adrianHards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to approve but think there’s room for some more unit tests;

  • trying to create a user with an existing email address
  • trying to create a user with an existing username
  • password validations (too short, white spaces, etc.)
  • unable to create a user with an invalid username/password/emaill address
    We can make this a separate ticket though.

@adrianHards adrianHards merged commit b4ab720 into main Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants