Skip to content

Commit

Permalink
integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gcw-it committed Sep 3, 2024
1 parent 6a6a18a commit fe719d3
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">

<include relativeToChangelogFile="true" file="create-tables.xml" />

<include relativeToChangelogFile="true" file="test/test.xml" />

<include relativeToChangelogFile="true" file="test/test-data-types.xml" />
<include relativeToChangelogFile="true" file="create-views.xml" />

<includeAll relativeToChangelogFile="true" path="includeAll" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">

<changeSet author="dev (generated)" id="create-data-types-tables-1">
<createTable tableName="TYPE_TEST">
<column name="id" type="bigint" autoIncrement="true">
<constraints primaryKey="true" nullable="false"/>
</column>
<column name="decimal_col" type="decimal" autoIncrement="true"/>
<column name="int_col" type="int" autoIncrement="true"/>
<column name="med_int_col" type="mediumint" autoIncrement="true"/>
<column name="number_col" type="number" autoIncrement="true"/>
<column name="small_int_col" type="smallint" autoIncrement="true"/>
<column name="tiny_int_col" type="tinyint" autoIncrement="true"/>
</createTable>
</changeSet>

</databaseChangeLog>
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static void doTestLiquibaseQuarkusFunctionality() {
.get("/liquibase/update")
.then()
.body(is(
"create-tables-1,test-1,create-view-inline,create-view-file-abs,create-view-file-rel,"
"create-tables-1,test-1,create-data-types-tables-1,create-view-inline,create-view-file-abs,create-view-file-rel,"
+ ("includeAll-1,includeAll-2,")
+ "json-create-tables-1,json-test-1,"
+ "sql-create-tables-1,sql-test-1,"
Expand Down

0 comments on commit fe719d3

Please sign in to comment.