Closes gh-16299
This commit is contained in:
Johnny Lim
2019-03-25 22:15:47 +09:00
committed by Stephane Nicoll
parent 89f93b28d7
commit 40d0d6b113
4 changed files with 5 additions and 5 deletions

View File

@@ -32,8 +32,8 @@ public class FlywayMigrationScriptMissingException extends RuntimeException {
FlywayMigrationScriptMissingException(List<String> locations) {
super(locations.isEmpty() ? "Migration script locations not configured"
: "Cannot find migrations location in: " + locations
+ " (please add migrations or check your Flyway configuration)");
: "Cannot find migration scripts in: " + locations
+ " (please add migration scripts or check your Flyway configuration)");
this.locations = new ArrayList<>(locations);
}

View File

@@ -209,7 +209,7 @@ public class FlywayAutoConfigurationTests {
assertThat(context).getFailure()
.isInstanceOf(BeanCreationException.class);
assertThat(context).getFailure()
.hasMessageContaining("Cannot find migrations location in");
.hasMessageContaining("Cannot find migration scripts in");
});
}