-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
fix(user-dao): return user model instances #30020
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #30020 +/- ##
===========================================
+ Coverage 60.48% 83.68% +23.19%
===========================================
Files 1931 528 -1403
Lines 76236 38206 -38030
Branches 8568 0 -8568
===========================================
- Hits 46114 31974 -14140
+ Misses 28017 6232 -21785
+ Partials 2105 0 -2105
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@michael-s-molina @sadpandajoe @rusackas we discussed this last Friday - can you take a look? |
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
(cherry picked from commit fcf0450)
SUMMARY
#27849 introduced a DAO for the User model which didn't return instances of the
security_manager.user_model
. This fixes that issue, adds a unit test and also refactors the existing tests so that they no longer use mocks.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION