|
|
|
@ -191,6 +191,13 @@ public class FlywayAutoConfigurationTests {
|
|
|
|
|
.run((context) -> assertThat(context).hasNotFailed());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void checkLocationsAllExistWithImplicitClasspathPrefix() {
|
|
|
|
|
this.contextRunner.withUserConfiguration(EmbeddedDataSourceConfiguration.class)
|
|
|
|
|
.withPropertyValues("spring.flyway.locations:db/changelog,db/migration")
|
|
|
|
|
.run((context) -> assertThat(context).hasNotFailed());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void customFlywayMigrationStrategy() {
|
|
|
|
|
this.contextRunner.withUserConfiguration(EmbeddedDataSourceConfiguration.class,
|
|
|
|
|