-
Notifications
You must be signed in to change notification settings - Fork 55
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
DXCDT-409: Users commands integration tests #686
Conversation
…g-identifiers-scripts-refactor
…409-users-integration-tests
if len(inputs.Email) != 0 { | ||
user.Email = &inputs.Email | ||
} | ||
|
||
if len(inputs.Password) == 0 { | ||
user.Password = current.Password | ||
} else { | ||
if len(inputs.Password) != 0 { |
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.
This fixes a bug where password would not be able to be update because you cannot update both email and password simultaneously.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #686 +/- ##
==========================================
+ Coverage 55.99% 56.36% +0.36%
==========================================
Files 89 89
Lines 11506 11502 -4
==========================================
+ Hits 6443 6483 +40
+ Misses 4622 4580 -42
+ Partials 441 439 -2
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
🔧 Changes
A modest increase in testing coverage for the users commands. A couple new commands covered, but otherwise just some edge cases. Unfortunately, the
auth0 users import
command is not testable, there is a bug that prevents the--no-input
flag from working as expected, requires additional input.Also included in this PR is a bug fix that previously prevented passwords from being updated.
📚 References
🔬 Testing
📝 Checklist