@AutoConfiguration(before=DataSourceAutoConfiguration.class) public class TestDatabaseAutoConfiguration extends Object
AutoConfigureTestDatabase
Constructor and Description |
---|
TestDatabaseAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
DataSource |
dataSource(Environment environment) |
@Bean @ConditionalOnProperty(prefix="spring.test.database", name="replace", havingValue="AUTO_CONFIGURED") @ConditionalOnMissingBean public DataSource dataSource(Environment environment)