Improve test coverage for app/models/user.rb
What does this MR do and why?
- Add tests for:
User.filter_items
User#crowd_user?
User#ldap_sync_time
User#can_leave_project?
User#has_current_license?
Contributes to: #435623 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #435623 (closed)
Edited by Jerry Seto