yyqdbngt opened a new pull request, #3920: URL: https://github.com/apache/rocketmq-dashboard/pull/3920
### Motivation The `ChangePasswordDTO` used by the profile password form had no unit coverage for its validation rules or credential redaction. This PR adds the first four cases. ### Changes - A missing current password is rejected. - A blank or too-short new password is rejected with the required/size messages. - A valid change passes validation. - `toString` never exposes either password. ### Verification - `mvn -B test -Dtest=ChangePasswordDTOTest`: 4/4 passed, BUILD SUCCESS -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
