From 6d56212e8b4e4a5b3d75af82e4fc95c497ae4366 Mon Sep 17 00:00:00 2001 From: Loganathan Sekar <42532387+LoganathanSekar7627@users.noreply.github.com> Date: Mon, 13 Mar 2023 18:06:45 +0530 Subject: [PATCH] Revert mosip 26314 fix for read status for auth lock status (#794) * Fix for setting read status to false * Revert "Fix for setting read status to false (#791)" This reverts commit c00a0512aac93ec9a38350ccf9c8617b80cee6a3. * Check test fix * Fix NPE in test in github --------- Co-authored-by: Loganathan Sekar --- .../io/mosip/resident/test/service/ResidentVidServiceTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/resident/resident-service/src/test/java/io/mosip/resident/test/service/ResidentVidServiceTest.java b/resident/resident-service/src/test/java/io/mosip/resident/test/service/ResidentVidServiceTest.java index b866968ee23..8a4088bb5bf 100644 --- a/resident/resident-service/src/test/java/io/mosip/resident/test/service/ResidentVidServiceTest.java +++ b/resident/resident-service/src/test/java/io/mosip/resident/test/service/ResidentVidServiceTest.java @@ -177,6 +177,7 @@ public void setup() throws IOException, ResidentServiceCheckedException, ApisRes vid = "2038096257310540"; when(mapper.convertValue((Object) any(), (Class) any())).thenReturn(LocalDateTime.now()); when(identityServiceImpl.getIdentity(Mockito.anyString())).thenReturn(identityValue); + Mockito.lenient().when(utility.createEventId()).thenReturn(UUID.randomUUID().toString()); } @Test