From a878e6c91cca63edd15f054c47ccc948bc3260d1 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 10 Mar 2023 16:27:58 +0000 Subject: [PATCH] Upgrade to Liquibase 4.20.0 Closes gh-34578 --- spring-boot-project/spring-boot-dependencies/build.gradle | 2 +- .../liquibase/SampleLiquibaseApplicationTests.java | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 6caeccdaa4..61d009b09b 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -765,7 +765,7 @@ bom { ] } } - library("Liquibase", "4.19.0") { + library("Liquibase", "4.20.0") { group("org.liquibase") { modules = [ "liquibase-cdi", diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-liquibase/src/test/java/smoketest/liquibase/SampleLiquibaseApplicationTests.java b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-liquibase/src/test/java/smoketest/liquibase/SampleLiquibaseApplicationTests.java index 8f1a1daff7..abcf860f84 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-liquibase/src/test/java/smoketest/liquibase/SampleLiquibaseApplicationTests.java +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-liquibase/src/test/java/smoketest/liquibase/SampleLiquibaseApplicationTests.java @@ -58,11 +58,9 @@ class SampleLiquibaseApplicationTests { assertThat(output).contains("Successfully acquired change log lock") .contains("Creating database history table with name: PUBLIC.DATABASECHANGELOG") .contains("Table person created") - .contains("ChangeSet classpath:/db/changelog/db.changelog-master.yaml::1::" - + "marceloverdijk ran successfully") + .contains("ChangeSet db/changelog/db.changelog-master.yaml::1::" + "marceloverdijk ran successfully") .contains("New row inserted into person") - .contains("ChangeSet classpath:/db/changelog/" - + "db.changelog-master.yaml::2::marceloverdijk ran successfully") + .contains("ChangeSet db/changelog/" + "db.changelog-master.yaml::2::marceloverdijk ran successfully") .contains("Successfully released change log lock"); }