Skip to content

Commit

Permalink
Merge pull request #18962 from izeye
Browse files Browse the repository at this point in the history
* pr/18962:
  Polish test methods

Closes gh-18962
  • Loading branch information
snicoll committed Nov 12, 2019
2 parents 992fcbf + ddb22f5 commit a5da441
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void runWhenMultipleDataSourceBeansShouldCreateCompositeIndicator() {
}

@Test
void runWithRoutingAndEmbeddedDataSourceShouldFilterRoutingDataSource() {
void runWithRoutingAndEmbeddedDataSourceShouldIncludeRoutingDataSource() {
this.contextRunner.withUserConfiguration(EmbeddedDataSourceConfiguration.class, RoutingDatasourceConfig.class)
.run((context) -> {
CompositeHealthContributor composite = context.getBean(CompositeHealthContributor.class);
Expand All @@ -83,7 +83,7 @@ void runWithRoutingAndEmbeddedDataSourceShouldFilterRoutingDataSource() {
}

@Test
void runWithOnlyRoutingDataSourceShouldFilterRoutingDataSource() {
void runWithOnlyRoutingDataSourceShouldIncludeRoutingDataSource() {
this.contextRunner.withUserConfiguration(RoutingDatasourceConfig.class)
.run((context) -> assertThat(context).hasSingleBean(RoutingDataSourceHealthIndicator.class));
}
Expand Down

0 comments on commit a5da441

Please sign in to comment.