You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "zjncs (via GitHub)" <gi...@apache.org> on 2026/10/11 03:20:58 UTC
[PR] test(auth): pin the password reset contract [rocketmq-dashboard]
zjncs opened a new pull request, #6216:
URL: https://github.com/apache/rocketmq-dashboard/pull/6216
### What
ResetPasswordDTO carries a password reset. It had no test. This pins: the new password is required and bounded to 8-256 characters (both bounds enforced; a blank password violates presence and length), and the Lombok-generated toString never exposes it (@ToString.Exclude).
### Verification
- New tests on unmodified code: **4/4 green**, checkstyle clean.
- Discriminating mutation: the length ceiling raised by one (red).
- Restored: green. Test-only change; no product code touched.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org