Improve error handling if reporting service implementation is missing [FINERACT-1173]

This commit is contained in:
Michael Vorburger
2020-11-26 06:13:15 +08:00
committed by Petri Tuomola
parent a3ab467278
commit b96061613b
11 changed files with 218 additions and 222 deletions
@@ -45,7 +45,7 @@ public class ReportsTest extends IntegrationTest {
@Test
void runExpectedPaymentsPentahoReportWithoutPlugin() {
assertThat(fineract().reportsRun.runReportGetFile("Expected Payments By Date - Formatted", Map.of("R_endDate", "2013-04-30",
"R_loanOfficerId", "-1", "R_officeId", "1", "R_startDate", "2013-04-16", "output-type", "PDF"), false)).hasHttpStatus(404);
"R_loanOfficerId", "-1", "R_officeId", "1", "R_startDate", "2013-04-16", "output-type", "PDF"), false)).hasHttpStatus(503);
}
@Test