From a10940b9b8ef3d679d9762d7604e1ee8de0f84ee Mon Sep 17 00:00:00 2001 From: Aravindhan Alagesan Date: Thu, 2 Nov 2023 15:39:45 +0530 Subject: [PATCH] Develop (#1137) * Added the string lower case function to avoid error throwing while comparing Signed-off-by: Aravindhan Alagesan * Added the string lower case function to avoid error throwing while comparing Signed-off-by: Aravindhan Alagesan * Added the string lower case function to avoid error throwing while comparing Signed-off-by: Aravindhan Alagesan * Added the condition to validate unlockfor second param to avoid confusion incase of authentication locked Signed-off-by: Aravindhan Alagesan * Added the condition to validate unlockfor second param to avoid confusion incase of authentication locked Signed-off-by: Aravindhan Alagesan * Added the condition to validate unlockfor second param to avoid confusion incase of authentication locked Signed-off-by: Aravindhan Alagesan * Added the condition to validate unlockfor second param to avoid confusion incase of authentication locked Signed-off-by: Aravindhan Alagesan * Changes in test cases based on field name changes Signed-off-by: Aravindhan Alagesan * Added the condition to validate unlockfor second param to avoid confusion incase of authentication locked Signed-off-by: Aravindhan Alagesan --------- Signed-off-by: Aravindhan Alagesan --- .../io/mosip/resident/validator/RequestValidatorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resident/resident-service/src/test/java/io/mosip/resident/validator/RequestValidatorTest.java b/resident/resident-service/src/test/java/io/mosip/resident/validator/RequestValidatorTest.java index 676d4542b9e..3926e85964b 100644 --- a/resident/resident-service/src/test/java/io/mosip/resident/validator/RequestValidatorTest.java +++ b/resident/resident-service/src/test/java/io/mosip/resident/validator/RequestValidatorTest.java @@ -168,8 +168,8 @@ public void setup() { ReflectionTestUtils.setField(requestValidator, "allowedAuthTypes", "bio-FIR,bio-IIR"); ReflectionTestUtils.setField(requestValidator, "version", "v1"); ReflectionTestUtils.setField(requestValidator, "map", map); - ReflectionTestUtils.setField(requestValidator, "authTypes", "otp,bio-FIR,bio-IIR,bio-FACE"); - ReflectionTestUtils.setField(residentService, "authTypes", "otp,bio-FIR,bio-IIR,bio-FACE"); + ReflectionTestUtils.setField(requestValidator, "allowedAuthTypes", "otp,bio-FIR,bio-IIR,bio-FACE"); + ReflectionTestUtils.setField(residentService, "allowedAuthTypes", "otp,bio-FIR,bio-IIR,bio-FACE"); ReflectionTestUtils.setField(requestValidator, "mandatoryLanguages", "eng"); ReflectionTestUtils.setField(requestValidator, "optionalLanguages", "ara"); ReflectionTestUtils.setField(requestValidator, "reqResVersion", "1.0");