From fed7c28539e8721f0edd7de483177614ae4af0ca Mon Sep 17 00:00:00 2001 From: kameshsr <47484458+kameshsr@users.noreply.github.com> Date: Thu, 21 Dec 2023 12:40:03 +0530 Subject: [PATCH] MOSIP-30831 Removed transactionId for generate and revoke vid new API. (#1185) * MOSIP-30831 Removed transactionId for generate and revoke vid new API. Signed-off-by: kameshsr * Fixed test case Failure Signed-off-by: kameshsr --------- Signed-off-by: kameshsr --- .../resident/validator/RequestValidator.java | 4 +-- .../validator/RequestValidatorTest.java | 29 ------------------- 2 files changed, 2 insertions(+), 31 deletions(-) diff --git a/resident/resident-service/src/main/java/io/mosip/resident/validator/RequestValidator.java b/resident/resident-service/src/main/java/io/mosip/resident/validator/RequestValidator.java index 4f110e9558a..4e0bf17d3b8 100644 --- a/resident/resident-service/src/main/java/io/mosip/resident/validator/RequestValidator.java +++ b/resident/resident-service/src/main/java/io/mosip/resident/validator/RequestValidator.java @@ -385,7 +385,7 @@ public void validateVidCreateV2Request(IVidRequestDto requestDto = new RequestWrapper<>(); - requestDto.setId("1.0"); - requestDto.setVersion("1.0"); - VidRevokeRequestDTOV2 vidRevokeRequestDTO = new VidRevokeRequestDTOV2(); - vidRevokeRequestDTO.setVidStatus("REVOKED"); - requestDto.setRequest(vidRevokeRequestDTO); - requestDto.setRequesttime(LocalDateTime.now().toString()); - requestValidator.validateVidRevokeV2Request(requestDto, false, "3956038419"); - } - @Test public void testValidateVidRevokeV2RequestEmptyRequestIdEmptyVidStatusSuccess() throws Exception { ReflectionTestUtils.setField(requestValidator, "revokeVidIdNew", "1.0");