Skip to content

Commit 0beccde

Browse files
committed
Merge branch '2.5.x' into 2.6.x
Closes gh-31094
2 parents 6bce0c5 + 7da42d7 commit 0beccde

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
@@ -254,6 +254,7 @@ void loadWhenBindingWithoutAnnotationValueShouldBind() {
254254

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

0 commit comments

Comments
 (0)