From 4c23f9749f8adfe894d95c86a9d90d22e70cbb26 Mon Sep 17 00:00:00 2001 From: Joy A Date: Wed, 13 Mar 2024 11:44:59 +0530 Subject: [PATCH] #84 | Fix test --- .../avniproject/etl/domain/metadata/diff/CreateTableTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/avniproject/etl/domain/metadata/diff/CreateTableTest.java b/src/test/java/org/avniproject/etl/domain/metadata/diff/CreateTableTest.java index 152547a..023ae3c 100644 --- a/src/test/java/org/avniproject/etl/domain/metadata/diff/CreateTableTest.java +++ b/src/test/java/org/avniproject/etl/domain/metadata/diff/CreateTableTest.java @@ -23,6 +23,6 @@ public void shouldCreateSqlWithCommonColumns() { TableMetadata tableMetadata = new TableMetadata(); tableMetadata.setName("tableName"); - assertThat(new CreateTable("tableName", new PersonTable(false).columns()).getSql(), containsString("create table schema.tableName (\"id\" integer, \"uuid\" text, \"is_voided\" boolean, \"created_by_id\" integer, \"last_modified_by_id\" integer, \"created_date_time\" timestamp with time zone, \"last_modified_date_time\" timestamp with time zone, \"organisation_id\" integer, \"address_id\" integer, \"registration_date\" date, \"first_name\" text, \"last_name\" text, \"registration_location\" point, \"legacy_id\" text, \"latest_approval_status\" text, \"date_of_birth\" date, \"date_of_birth_verified\" boolean, \"gender\" text );\ngrant all privileges on all tables in schema schema to dbUser;")); + assertThat(new CreateTable("tableName", new PersonTable(false).columns()).getSql(), containsString("create table schema.tableName (\"id\" integer, \"uuid\" text, \"is_voided\" boolean, \"created_by_id\" integer, \"last_modified_by_id\" integer, \"created_date_time\" timestamp with time zone, \"last_modified_date_time\" timestamp with time zone, \"organisation_id\" integer, \"address_id\" integer, \"registration_date\" date, \"first_name\" text, \"last_name\" text, \"registration_location\" point, \"legacy_id\" text, \"latest_approval_status\" text, \"date_of_birth\" date, \"date_of_birth_verified\" boolean, \"gender\" text );\ngrant all privileges on all tables in schema \"schema\" to \"dbUser\";")); } }