Commit 137d3f35 authored by Andy Wilkinson's avatar Andy Wilkinson

Test Flyway location checking with implicit classpath: prefix

Closes gh-10894
parent d4e19f81
...@@ -182,6 +182,16 @@ public class FlywayAutoConfigurationTests { ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment