Skip to content

Commit

Permalink
Adapt test to include an additional test property source
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed May 21, 2024
1 parent 19505d3 commit acb79cc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ void propertySourceOrdering() {
.map(PropertySource::getName)
.collect(Collectors.toCollection(ArrayList::new));
String last = names.remove(names.size() - 1);
assertThat(names).containsExactly("configurationProperties", "Inlined Test Properties", "commandLineArgs",
"servletConfigInitParams", "servletContextInitParams", "systemProperties", "systemEnvironment",
"random");
assertThat(names).containsExactly("Dynamic Test Properties", "configurationProperties",
"Inlined Test Properties", "commandLineArgs", "servletConfigInitParams", "servletContextInitParams",
"systemProperties", "systemEnvironment", "random");
assertThat(last).startsWith("Config resource");
}

Expand Down

0 comments on commit acb79cc

Please sign in to comment.