Skip to content

Commit

Permalink
fixed test failures
Browse files Browse the repository at this point in the history
Signed-off-by: GOKULRAJ136 <110164849+GOKULRAJ136@users.noreply.github.com>
  • Loading branch information
GOKULRAJ136 committed Nov 6, 2024
1 parent 20c6f25 commit 653f446
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void testSaveHoliday_ValidData_Success() throws Exception {

@Test
@WithUserDetails("global-admin")
public void testSaveHoliday_withDuplicateHoliday_Error() throws Exception {
public void testSaveHoliday_withNewHoliday_Pass() throws Exception {

DateTimeFormatter DATEFORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd");
LocalDate ld = LocalDate.parse("2019-12-14", DATEFORMATTER);
Expand All @@ -156,7 +156,7 @@ public void testSaveHoliday_withDuplicateHoliday_Error() throws Exception {
+ " \"holidayName\": \"Eid\",\n" + " \"langCode\": \"eng\",\n"
+ " \"holidayDesc\": \"National holiday\"\n" + " }\n" + "}"))

.andReturn(), "KER-MSD-240");
.andReturn(), null);
}

@Test
Expand Down

0 comments on commit 653f446

Please sign in to comment.