Fix legacy integration test cases for specific holiday
This commit is contained in:
committed by
Adam Saghy
parent
749d6511ef
commit
127add41d6
+2
@@ -550,6 +550,8 @@ public class SchedulerJobsTestResults {
|
||||
Assertions.assertEquals(LocalDate.of(2024, 6, 4), dueDate,
|
||||
"Verifying Repayment Rescheduled Date after Running Apply Holidays to Loans Scheduler Job");
|
||||
|
||||
// Remove the Holiday created
|
||||
HolidayHelper.deleteHoliday(requestSpec, responseSpec, holidayId);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
+6
@@ -112,4 +112,10 @@ public class HolidayHelper {
|
||||
return response;
|
||||
}
|
||||
|
||||
public static Integer deleteHoliday(final RequestSpecification requestSpec, final ResponseSpecification responseSpec,
|
||||
final Integer holidayID) {
|
||||
final String DELETE_HOLIDAY_URL = HOLIDAYS_URL + "/" + holidayID + "?" + Utils.TENANT_IDENTIFIER;
|
||||
return Utils.performServerDelete(requestSpec, responseSpec, DELETE_HOLIDAY_URL, "{}", "resourceId");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user