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

   ### Summary
   
   Deepens `InstanceControllerTest` with the cloud import and batch delete 
endpoints, which had no coverage at all.
   
   ### Changes
   
   - 
`server/src/test/java/org/apache/rocketmq/studio/instance/InstanceControllerTest.java`
     - `importCloudInstancesShouldDelegateVendorAndCredential`: POST 
/import-cloud forwards the vendor and credential id and surfaces the import 
summary.
     - `deleteBatchShouldDelegateIds`: POST /delete-batch passes the id list 
through and returns the deletion summary.
     - `deleteBatchShouldRejectEmptyIds`: an empty id list is rejected before 
reaching the service.
   
   Suite grows from 12 to 15 tests.
   
   ### Testing
   
   - `mvn -B test -Dtest=InstanceControllerTest` passes (15 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