Skip to content

Commit f7bb457

Browse files
committed
Adapt test to include an additional test property source
See spring-projects/spring-framework#32271
1 parent d5c5af2 commit f7bb457

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ void propertySourceOrdering() {
161161
.map(PropertySource::getName)
162162
.collect(Collectors.toCollection(ArrayList::new));
163163
String last = names.remove(names.size() - 1);
164-
assertThat(names).containsExactly("configurationProperties", "Inlined Test Properties", "commandLineArgs",
165-
"servletConfigInitParams", "servletContextInitParams", "systemProperties", "systemEnvironment",
166-
"random");
164+
assertThat(names).containsExactly("Dynamic Test Properties", "configurationProperties",
165+
"Inlined Test Properties", "commandLineArgs", "servletConfigInitParams", "servletContextInitParams",
166+
"systemProperties", "systemEnvironment", "random");
167167
assertThat(last).startsWith("Config resource");
168168
}
169169

0 commit comments

Comments
 (0)