yyqdbngt opened a new pull request, #3922: URL: https://github.com/apache/rocketmq-dashboard/pull/3922
### Motivation The `ResetPasswordDTO` used by the admin password reset form had no unit coverage for its validation rule or password redaction. This PR adds the first four cases. ### Changes - A missing new password is rejected. - A too-short new password is rejected with the size message. - A valid reset passes validation. - `toString` never exposes the password. ### Verification - `mvn -B test -Dtest=ResetPasswordDTOTest`: 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]
