-
-
Couldn't load subscription status.
- Fork 97
Unit testing for User model #1955
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
Unit testing for User model #1955
Conversation
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.
Hey, James. Sorry for the late review on this. Maybe we should discuss in the meeting tonight, but I think that my comments should provide the right approach to unit testing models without creating a MongoMemoryServer
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.
Implemented the requested changes.
|
@dannyprikaz Can you please review this PR when you have a moment? Once reviewed / merged, we can then unblock work on #1979 |
|
Hi @dannyprikaz! Just checking in again - Can you please review this PR when you have a moment? Once reviewed / merged, we can then unblock work on #1979 |
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.
Looks good!
Fixes #1951
What changes did you make and why did you make them ?
UsermodelScreenshot of passed tests