From a8f7bc31264928f8433468f75d397142da0d4726 Mon Sep 17 00:00:00 2001 From: kameshsr Date: Mon, 13 Jan 2025 15:43:16 +0530 Subject: [PATCH] MOSIP-34244 Added unit test case Signed-off-by: kameshsr --- .../io/mosip/resident/service/impl/ProxyIdRepoServiceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resident/resident-service/src/test/java/io/mosip/resident/service/impl/ProxyIdRepoServiceTest.java b/resident/resident-service/src/test/java/io/mosip/resident/service/impl/ProxyIdRepoServiceTest.java index cd893eda7d..ff5c28ea60 100644 --- a/resident/resident-service/src/test/java/io/mosip/resident/service/impl/ProxyIdRepoServiceTest.java +++ b/resident/resident-service/src/test/java/io/mosip/resident/service/impl/ProxyIdRepoServiceTest.java @@ -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()); } }