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

   ## Summary
   
   Extends the existing `MybatisPlusCloudCredentialRepositoryTest` (5 to 7 
tests) with the mutation branches.
   
   Added cases:
   - `deleteById` guards a null id (no mapper call) and reflects the mapper 
outcome;
   - `replace` requires a persisted id (never updates for an id-less view) and 
reflects the mapper outcome on both success and failure.
   
   ## Why
   
   The repository mediates all credential lifecycle writes; only save/find 
paths were covered before.
   
   ## Testing
   
   `mvn -B test -Dtest=MybatisPlusCloudCredentialRepositoryTest` — 7/7 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