diff --git a/pom.xml b/pom.xml index a9f8e606..dece3470 100644 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,7 @@ true src/main/java src/test - 1.0.10 + 1.1.0-SNAPSHOT 5.11.4 1.11.4 5.14.2 @@ -137,6 +137,12 @@ ${mockito.version} test + + org.junit.platform + junit-platform-suite-api + 1.11.3 + test + diff --git a/src/test/java/liquibase/ext/databricks/AdvancedExtensionHarnessTestSuite.java b/src/test/java/liquibase/ext/databricks/AdvancedExtensionHarnessTestSuite.java index 4031bf0f..64a87383 100644 --- a/src/test/java/liquibase/ext/databricks/AdvancedExtensionHarnessTestSuite.java +++ b/src/test/java/liquibase/ext/databricks/AdvancedExtensionHarnessTestSuite.java @@ -1,9 +1,10 @@ package liquibase.ext.databricks; import liquibase.harness.AdvancedHarnessSuite; +import liquibase.harness.generateChangelog.GenerateChangelogTest; import liquibase.harness.snapshot.SnapshotObjectTests; import org.junit.platform.suite.api.SelectClasses; -@SelectClasses({SnapshotObjectTests.class}) +@SelectClasses({SnapshotObjectTests.class, GenerateChangelogTest.class}) public class AdvancedExtensionHarnessTestSuite extends AdvancedHarnessSuite { } diff --git a/src/test/resources/liquibase/harness/generateChangelog/expectedChangeLog/databricks/createTable.sql b/src/test/resources/liquibase/harness/generateChangelog/expectedChangeLog/databricks/createTable.sql deleted file mode 100644 index b06ec0fa..00000000 --- a/src/test/resources/liquibase/harness/generateChangelog/expectedChangeLog/databricks/createTable.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE test_table_xml (test_column INT); \ No newline at end of file diff --git a/src/test/resources/liquibase/harness/generateChangelog/expectedSql/databricks/createTable.sql b/src/test/resources/liquibase/harness/generateChangelog/expectedSql/databricks/createTable.sql new file mode 100644 index 00000000..b696e7c9 --- /dev/null +++ b/src/test/resources/liquibase/harness/generateChangelog/expectedSql/databricks/createTable.sql @@ -0,0 +1 @@ +CREATE TABLE test_table_xml (test_column INT) USING delta TBLPROPERTIES('delta.feature.allowColumnDefaults' = 'supported', 'delta.columnMapping.mode' = 'name', 'delta.enableDeletionVectors' = true); \ No newline at end of file