diff --git a/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml b/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml index c7eb5a792..932f1fec5 100644 --- a/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml +++ b/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml @@ -103,4 +103,5 @@ + diff --git a/fineract-provider/src/main/resources/db/changelog/tenant/parts/0084_add_general_accounting_table_reports.xml b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0084_add_general_accounting_table_reports.xml new file mode 100644 index 000000000..07854d7da --- /dev/null +++ b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0084_add_general_accounting_table_reports.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + INSERT INTO stretchy_report_parameter (report_id, parameter_id, report_parameter_name) VALUES + ((SELECT id FROM stretchy_report WHERE report_name = 'Trial Balance Summary Report'), 5, 'officeId'); + + + INSERT INTO stretchy_report_parameter (report_id, parameter_id, report_parameter_name) VALUES + ((SELECT id FROM stretchy_report WHERE report_name = 'Trial Balance Summary Report'), 2, 'endDate'); + + + + + + + + + + + + + + + + + + + INSERT INTO stretchy_report_parameter (report_id, parameter_id, report_parameter_name) VALUES + ((SELECT id FROM stretchy_report WHERE report_name = 'Transaction Summary Report'), 5, 'officeId'); + + + INSERT INTO stretchy_report_parameter (report_id, parameter_id, report_parameter_name) VALUES + ((SELECT id FROM stretchy_report WHERE report_name = 'Transaction Summary Report'), 2, 'endDate'); + + + diff --git a/integration-tests/src/test/java/org/apache/fineract/integrationtests/client/ReportsTest.java b/integration-tests/src/test/java/org/apache/fineract/integrationtests/client/ReportsTest.java index 9430ac556..72bfcef1d 100644 --- a/integration-tests/src/test/java/org/apache/fineract/integrationtests/client/ReportsTest.java +++ b/integration-tests/src/test/java/org/apache/fineract/integrationtests/client/ReportsTest.java @@ -42,7 +42,7 @@ public class ReportsTest extends IntegrationTest { @Test void listReports() { - assertThat(ok(fineract().reports.retrieveReportList())).hasSize(124); + assertThat(ok(fineract().reports.retrieveReportList())).hasSize(126); } @Test