Skip to content

Commit

Permalink
MOSIP-34244 Added unit test case
Browse files Browse the repository at this point in the history
Signed-off-by: kameshsr <[email protected]>
  • Loading branch information
kameshsr committed Jan 13, 2025
1 parent 6756e43 commit a8f7bc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public void testGetPendingDraftsSuccessWithPendingDraftEmptyValue() throws Resid
when(identityServiceImpl.getResidentIdaToken()).thenReturn("123");
when(residentService.getEventStatusCode(Mockito.anyString(), Mockito.anyString())).thenReturn(Tuples.of(EventStatusInProgress.NEW.name(),
"eng"));
assertEquals("123", service.getPendingDrafts("eng").getResponse().getDrafts().get(0).getEid());
assertEquals(1, service.getPendingDrafts("eng").getResponse().getDrafts().size());
}

}

0 comments on commit a8f7bc3

Please sign in to comment.