zjncs opened a new pull request, #5854: URL: https://github.com/apache/rocketmq-dashboard/pull/5854
### What `CreateAclRuleDTO` carries a new ACL rule. It had no test. This adds 3 tests. ### What is pinned - the **principal and the resource are required**; - **`toAclRuleVO()` carries every rule field** and leaves the id `null` — a created rule has no id yet; - a minimal create (principal + resource only) still produces a rule. ### Verification - New tests on unmodified code: **3/3 green**, checkstyle clean. - Discriminating mutation: the principal mapping replaced with a constant (red). - Restored: 3/3 green. Test-only change; no product code touched. -- 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]
