Closes gh-13130
This commit is contained in:
Johnny Lim
2018-05-11 15:58:20 +09:00
committed by Stephane Nicoll
parent 4683940423
commit 75e591e76e
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)