yyqdbngt opened a new pull request, #3286: URL: https://github.com/apache/rocketmq-dashboard/pull/3286
## Summary Adds `TencentCatalogControllerTest`, a first unit test for the Tencent cloud-catalog REST endpoints. The catalog service is mocked. Coverage: - `GET /regions` delegates with the credential id and returns the service payload; - `GET /instances` delegates with the credential, region, and search term intact; - a missing (null) search term is passed through as null rather than being dropped or replaced. ## Why These endpoints drive the cloud instance picker for the Tencent vendor type; the delegation contract had no direct test while the service behind it is covered. ## Testing `mvn -B test -Dtest=TencentCatalogControllerTest` — 3/3 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]
