Formatting

pull/9497/head
Phillip Webb 8 years ago
parent 55233eba9c
commit 28d6881118

@ -148,8 +148,7 @@ public class IntegrationAutoConfigurationTests {
public void integrationJdbcDatabaseInitializerEnabled() {
load(new Class[] { EmbeddedDataSourceConfiguration.class,
DataSourceTransactionManagerAutoConfiguration.class,
JdbcTemplateAutoConfiguration.class,
IntegrationAutoConfiguration.class},
JdbcTemplateAutoConfiguration.class, IntegrationAutoConfiguration.class },
"spring.datasource.generate-unique-name=true",
"spring.integration.jdbc.initializer.enabled=true");
assertThat(this.context.getBean(IntegrationProperties.class).getJdbc()
@ -169,8 +168,7 @@ public class IntegrationAutoConfigurationTests {
public void integrationJdbcDatabaseInitializerDisabled() {
load(new Class[] { EmbeddedDataSourceConfiguration.class,
DataSourceTransactionManagerAutoConfiguration.class,
JdbcTemplateAutoConfiguration.class,
IntegrationAutoConfiguration.class },
JdbcTemplateAutoConfiguration.class, IntegrationAutoConfiguration.class },
"spring.datasource.generate-unique-name=true",
"spring.integration.jdbc.initializer.enabled=false");
assertThat(this.context.getBean(IntegrationProperties.class).getJdbc()
@ -184,8 +182,7 @@ public class IntegrationAutoConfigurationTests {
public void integrationJdbcDatabaseInitializerDisabledByDefault() {
load(new Class[] { EmbeddedDataSourceConfiguration.class,
DataSourceTransactionManagerAutoConfiguration.class,
JdbcTemplateAutoConfiguration.class,
IntegrationAutoConfiguration.class },
JdbcTemplateAutoConfiguration.class, IntegrationAutoConfiguration.class },
"spring.datasource.generate-unique-name=true");
assertThat(this.context.getBean(IntegrationProperties.class).getJdbc()
.getInitializer().isEnabled()).isFalse();

Loading…
Cancel
Save