diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java index 78be54d7a8..e9a58f9336 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java @@ -526,7 +526,7 @@ class FlywayAutoConfigurationTests { assertThat(context).hasFailed(); Throwable failure = context.getStartupFailure(); assertThat(failure).hasRootCauseInstanceOf(FlywayTeamsUpgradeRequiredException.class); - assertThat(failure).hasMessageContaining(" migrations "); + assertThat(failure).hasMessageContaining(" cherryPick "); }); } diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 487d40d905..2d5eb97164 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -304,7 +304,7 @@ bom { ] } } - library("Flyway", "7.0.2") { + library("Flyway", "7.0.4") { group("org.flywaydb") { modules = [ "flyway-core"