yyqdbngt opened a new pull request, #3929: URL: https://github.com/apache/rocketmq-dashboard/pull/3929
### Motivation The `DirectConsumeMessageDTO` used by the message replay feature had no unit coverage for its required-field validation. This PR adds the first three cases. ### Changes - Missing topic/msgId/consumerGroup/clientId are each rejected with their required messages. - Blank target values are rejected. - A fully valid consume request passes validation. ### Verification - `mvn -B test -Dtest=DirectConsumeMessageDTOTest`: 3/3 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]
