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

   ## Summary
   
   Extends the existing `AlertRuleAssetControllerTest` (3 to 4 tests) with the 
unknown-asset branch.
   
   Added case:
   - requesting an unknown asset through either the view or the export endpoint 
surfaces the service's `BusinessException` (404) as an HTTP 404 response.
   
   ## Why
   
   The bundled-asset endpoints document 404 for unknown names; the error path 
was not covered before (only list/get/export happy paths).
   
   ## Testing
   
   `mvn -B test -Dtest=AlertRuleAssetControllerTest` — 4/4 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]

Reply via email to