You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/05 17:29:43 UTC

[PR] test: cover password rules in ChangePasswordDTO [rocketmq-dashboard]

yyqdbngt opened a new pull request, #3506:
URL: https://github.com/apache/rocketmq-dashboard/pull/3506

   ### Summary
   
   `ChangePasswordDTO` requires both passwords and bounds the new password to 8–256 characters. It had no tests.
   
   ### Changes
   
   - An empty request reports the required messages for both fields
   - A too-short new password is rejected with its dedicated message
   - A complete request passes validation
   
   ### Testing
   
   `mvn test -Dtest=ChangePasswordDTOTest` passes: 3 tests, 0 failures (first coverage for this DTO).


-- 
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


Re: [PR] test: cover password rules in ChangePasswordDTO [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3506: test: cover password rules in ChangePasswordDTO
URL: https://github.com/apache/rocketmq-dashboard/pull/3506


-- 
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