mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-06 09:19:19 +00:00
Merge branch '2.6.x' into 2.7.x
Closes gh-31095
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