• Madhura Bhave's avatar
    Do not validate value object bean definion when singleton present · 471ca01c
    Madhura Bhave authored
    Prior to this commit constructor bound configuration properties could
    not be mocked because it would fail validation from
    ConfigurationPropertiesBeanDefinitionValidator. The MockitoPostProcessor
    registers the mocked bean as a singleton and validation can be skipped if a
    singleton for the type is found in the bean factory.
    
    Fixes gh-18652
    471ca01c
Name
Last commit
Last update
..
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-autoconfigure Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-properties-migrator Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
pom.xml Loading commit data...