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

   ### Summary
   
   Adds the first dedicated unit test suite for `ProxyAddressDTO`, the payload 
of the proxy address add endpoint.
   
   The DTO requires a non-blank proxy `addr`. The tests cover the accepted 
address and the null/blank rejections.
   
   ### Changes
   
   - 
`server/src/test/java/org/apache/rocketmq/studio/cluster/proxy/ProxyAddressDTOTest.java`
     - `acceptsProxyAddress`: a populated address passes validation.
     - `rejectsMissingAddr` / `rejectsBlankAddr`: null or blank address yields 
the `addr is required` violation.
   
   ### Testing
   
   - `mvn -B test -Dtest=ProxyAddressDTOTest` passes (3 tests, all green).


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