Skip to content

Commit ea881aa

Browse files
committed
Merge branch '2.7.x'
2 parents e83ed4f + 13670e5 commit ea881aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ void loadWhenBindingWithoutAnnotationValueShouldBind() {
253253

254254
@Test
255255
void loadWhenBindingWithDefaultsInXmlShouldBind() {
256+
removeSystemProperties();
256257
load(new Class<?>[] { BasicConfiguration.class, DefaultsInXmlConfiguration.class });
257258
BasicProperties bean = this.context.getBean(BasicProperties.class);
258259
assertThat(bean.name).isEqualTo("bar");

0 commit comments

Comments
 (0)