Test Flyway location checking with implicit classpath: prefix

Closes gh-10894
pull/10706/merge
Andy Wilkinson 7 years ago
parent d4e19f8170
commit 137d3f3533

@ -182,6 +182,16 @@ public class FlywayAutoConfigurationTests {
PropertyPlaceholderAutoConfiguration.class); PropertyPlaceholderAutoConfiguration.class);
} }
@Test
public void checkLocationsAllExistWithImplicitClasspathPrefix() throws Exception {
EnvironmentTestUtils.addEnvironment(this.context,
"flyway.locations:db/changelog,db/migration",
"flyway.check-location:true");
registerAndRefresh(EmbeddedDataSourceConfiguration.class,
FlywayAutoConfiguration.class,
PropertyPlaceholderAutoConfiguration.class);
}
@Test @Test
public void customFlywayMigrationStrategy() throws Exception { public void customFlywayMigrationStrategy() throws Exception {
registerAndRefresh(EmbeddedDataSourceConfiguration.class, registerAndRefresh(EmbeddedDataSourceConfiguration.class,

Loading…
Cancel
Save