yyqdbngt opened a new pull request, #3397: URL: https://github.com/apache/rocketmq-dashboard/pull/3397
## Summary Extends the existing `ClusterAlertRuleControllerTest` (6 to 9 tests) with the remaining mutation endpoints. Added cases: - `POST /update` rejects a body without an id with `id is required`; - `POST /update` forces the CLUSTER domain on the updated rule; - `POST /delete` delegates with the CLUSTER domain, and `POST /bulk-toggle` delegates the id list/enabled flag. ## Why The suite covered list/page/runtime/transfer/create/toggle only; update/delete/bulk flows drive the cluster alert rule management page. ## Testing `mvn -B test -Dtest=ClusterAlertRuleControllerTest` — 9/9 pass; checkstyle (validate) clean. -- 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]
