Merge branch '2.0.x'

This commit is contained in:
Stephane Nicoll
2018-05-11 10:01:30 +02:00
10 changed files with 25 additions and 29 deletions

View File

@@ -51,14 +51,14 @@ public class AutoConfigurationImportSelectorIntegrationTests {
}
@Test
public void multipleSelectorShouldMergeAndSortCorrectly() {
public void multipleSelectorsShouldMergeAndSortCorrectly() {
this.contextRunner.withUserConfiguration(Config.class, AnotherConfig.class)
.run((context) -> assertThat(getImportedConfigBeans(context))
.containsExactly("ConfigA", "ConfigB", "ConfigC", "ConfigD"));
}
@Test
public void multipleSelectorWithRedundantImportsShouldMergeAndSortCorrectly() {
public void multipleSelectorsWithRedundantImportsShouldMergeAndSortCorrectly() {
this.contextRunner
.withUserConfiguration(SingleConfig.class, Config.class,
AnotherConfig.class)