mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-03 07:49:03 +00:00
Merge branch '2.5.x' into 2.6.x
Closes gh-31094
This commit is contained in:
+1
@@ -254,6 +254,7 @@ class ConfigurationPropertiesTests {
|
||||
|
||||
@Test
|
||||
void loadWhenBindingWithDefaultsInXmlShouldBind() {
|
||||
removeSystemProperties();
|
||||
load(new Class<?>[] { BasicConfiguration.class, DefaultsInXmlConfiguration.class });
|
||||
BasicProperties bean = this.context.getBean(BasicProperties.class);
|
||||
assertThat(bean.name).isEqualTo("bar");
|
||||
|
||||
Reference in New Issue
Block a user