Skip to content

Commit

Permalink
Polish test methods
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye authored and mathieufortin01 committed Nov 15, 2019
1 parent 66c7311 commit 8a5b708
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 8a5b708

Please sign in to comment.