NiMv1 opened a new pull request, #7924:
URL: https://github.com/apache/incubator-seata/pull/7924
## Summary
This PR adds unit tests for SeataProperties class in the
seata-spring-boot-starter module to improve test coverage as requested in #6505.
## Changes
- Added SeataAutoConfigurationDisabledTest.java with 4 unit tests:
- seataPropertiesShouldBeEnabledByDefault() - verifies default enabled
state
- seataPropertiesShouldBeDisableable() - verifies enabled can be set to
false
- seataPropertiesApplicationIdShouldBeSettable() - verifies applicationId
setter
- seataPropertiesTxServiceGroupShouldBeSettable() - verifies
txServiceGroup setter
## Testing
All tests pass locally:
\\\
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
BUILD SUCCESS
\\\
## Related Issue
Closes #6505 (partial - contributes to test coverage goal)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]