Skip to content

Commit

Permalink
Merge pull request #687 from jayesh12234/develop
Browse files Browse the repository at this point in the history
MOSIP-37102-Fixed failure at ekyc otp
  • Loading branch information
mohanachandran-s authored Dec 9, 2024
2 parents c8a9989 + b1d06ea commit dca463a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,11 @@ else if (BaseTestCase.getSupportedIdTypesValueFromActuator().contains("VID")

input = JsonPrecondtion.parseAndReturnJsonContent(input, uin, "individualId");
input = JsonPrecondtion.parseAndReturnJsonContent(input, uin, "sendOtp.individualId");
input = JsonPrecondtion.parseAndReturnJsonContent(input, emailId, "otpChannel");
test.setEndPoint(test.getEndPoint().replace("$PartnerKey$", partnerKeyUrl));
test.setEndPoint(test.getEndPoint().replace("$PartnerName$", partnerId));
test.setEndPoint(test.getEndPoint().replace("uinnumber", uin));


if (casesListUIN != null) {
for (Object object : casesListUIN) {
Expand Down Expand Up @@ -142,6 +144,7 @@ else if (BaseTestCase.getSupportedIdTypesValueFromActuator().contains("VID")
input = JsonPrecondtion.parseAndReturnJsonContent(input, vid, "sendOtp.individualId");
input = JsonPrecondtion.parseAndReturnJsonContent(input, "VID", "individualIdType");
input = JsonPrecondtion.parseAndReturnJsonContent(input, "VID", "sendOtp.individualIdType");
input = JsonPrecondtion.parseAndReturnJsonContent(input, emailId, "otpChannel");

test.setEndPoint(test.getEndPoint().replace("$PartnerKey$", partnerKeyUrl));
test.setEndPoint(test.getEndPoint().replace("$PartnerName$", partnerId));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ EkycOtp:
inputTemplate: idaData/EkycOtp/ekycOtp
outputTemplate: idaData/EkycOtp/ekycOtpResult
input: '{
"otpChannel": "EMAIL",
"requestTime": "$TIMESTAMP$",
"individualId": "3974189657",
"transactionId": "$TRANSACTIONID$",
Expand Down

0 comments on commit dca463a

Please sign in to comment.