You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/06 00:29:33 UTC
[PR] test: expand cloud credential API coverage [rocketmq-dashboard]
yyqdbngt opened a new pull request, #3889:
URL: https://github.com/apache/rocketmq-dashboard/pull/3889
### Motivation
The cloud credential API tests covered masked listing, creation, updates, and deletion but never asserted the list filters or pagination defaults. This PR grows the suite from 3 to 6 cases.
### Changes
- `listCloudCredentials` without arguments defaults to page 1 / page size 20 with undefined vendor and search.
- Vendor, search, and pagination filters are forwarded verbatim to the endpoint.
- An empty match page resolves to the backend `CloudCredentialPage` shape with zero total.
### Verification
- `vitest run src/api/cloudCredential.test.ts`: 6/6 passed
- `tsc --noEmit`: clean
- `eslint src/api/cloudCredential.test.ts`: 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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] test: expand cloud credential API coverage [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3889: test: expand cloud credential API coverage
URL: https://github.com/apache/rocketmq-dashboard/pull/3889
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org