yyqdbngt opened a new pull request, #3707:
URL: https://github.com/apache/rocketmq-dashboard/pull/3707
### Summary
Adds the first dedicated unit test suite for `GeneralSettingsVO`, the
settings payload read by the settings page.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/settings/GeneralSettingsVOTest.java`
- `builderDefaultsDescribeFreshSettings`: toggles false, timeout zero.
- `secretsAreExcludedFromToString`: api key and dingtalk signing secret
never leak.
- `apiKeyConfiguredReflectsPresence`: the read-only computed flag follows
the key presence.
- `allArgsCarrySettingsState`: theme, login, LLM and notification fields
round-trip.
### Testing
- `mvn -B test -Dtest=GeneralSettingsVOTest` passes (4 tests, all green).
--
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]