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

   ### Motivation
   
   The `CreateStudioUserDTO` used by the account creation form had no unit 
coverage for its validation rules or password redaction. This PR adds the first 
four cases.
   
   ### Changes
   
   - Missing and over-128-char usernames are rejected.
   - Missing and too-short passwords are rejected with their messages.
   - A valid account passes validation.
   - `toString` never exposes the password.
   
   ### Verification
   
   - `mvn -B test -Dtest=CreateStudioUserDTOTest`: 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]

Reply via email to