Skip to content

Commit f12de33

Browse files
committed
Merge branch '1.5.x'
2 parents 69fb433 + 137d3f3 commit f12de33

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,13 @@ public void checkLocationsAllExist() {
191191
.run((context) -> assertThat(context).hasNotFailed());
192192
}
193193

194+
@Test
195+
public void checkLocationsAllExistWithImplicitClasspathPrefix() {
196+
this.contextRunner.withUserConfiguration(EmbeddedDataSourceConfiguration.class)
197+
.withPropertyValues("spring.flyway.locations:db/changelog,db/migration")
198+
.run((context) -> assertThat(context).hasNotFailed());
199+
}
200+
194201
@Test
195202
public void customFlywayMigrationStrategy() {
196203
this.contextRunner.withUserConfiguration(EmbeddedDataSourceConfiguration.class,

0 commit comments

Comments
 (0)