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

   ### What
   
   `StudioUserVO.from` maps a persisted Studio user into the API view. It had 
no test. This adds 3 tests.
   
   ### What is pinned
   
   - **every user column is carried** into the view;
   - **a null `admin` or `enabled` flag normalises to `false`** (the DB columns 
are nullable);
   - **a missing session summary reads as zero active sessions** with no 
session timestamps, while a present one carries its fields.
   
   ### Verification
   
   - New tests on unmodified code: **3/3 green**, checkstyle clean.
   - Discriminating mutation: the admin normalization dropped (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]

Reply via email to