Skip to content

Commit

Permalink
MOSIP-35937
Browse files Browse the repository at this point in the history
Signed-off-by: Anushree N <[email protected]>
  • Loading branch information
Anushree N authored and Anushree N committed Nov 13, 2024
1 parent 715a814 commit 7391143
Show file tree
Hide file tree
Showing 4 changed files with 180 additions and 222 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
GetIdVerifier:
ESignet_GetIdVerifierNegTC_with_invalidVal_in_verifierId:
GetIdVerifierNegTC:
ESignet_GetIdVerifierNegTC_with_invalidVal_in_verifierId_Neg:
endPoint: /v1/signup/identity-verification/identity-verifier/{verifierId}
uniqueIdentifier: TC_ESignet_GetIdVerifierNegTC_01
description: To get the details of specific identity verifier with invalid value in verifierId
role: resident
restMethod: get
checkErrorsOnlyInResponse: true
inputTemplate: esignet/GetIdVerifierNegTC/GetIdVerifierNegTC
outputTemplate: esignet/error
input: '{
"idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_idvTransactionID$",
"idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$",
"verifierId": "7672836gvfbsvbna"
}'
output: '{
Expand All @@ -19,15 +21,17 @@ GetIdVerifier:
]
}'

ESignet_GetIdVerifierNegTC_with_space_in_verifierId:
ESignet_GetIdVerifierNegTC_with_space_in_verifierId_Neg:
endPoint: /v1/signup/identity-verification/identity-verifier/{verifierId}
uniqueIdentifier: TC_ESignet_GetIdVerifierNegTC_02
description: To get the details of specific identity verifier with only space in verifierId
role: resident
restMethod: get
checkErrorsOnlyInResponse: true
inputTemplate: esignet/GetIdVerifierNegTC/GetIdVerifierNegTC
outputTemplate: esignet/error
input: '{
"idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_idvTransactionID$",
"idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$",
"verifierId": " "
}'
output: '{
Expand All @@ -39,16 +43,18 @@ GetIdVerifier:
]
}'

ESignet_GetIdVerifierNegTC_with_space_in_idvTransactionID:
ESignet_GetIdVerifierNegTC_with_space_in_idvTransactionID_Neg:
endPoint: /v1/signup/identity-verification/identity-verifier/{verifierId}
uniqueIdentifier: TC_ESignet_GetIdVerifierNegTC_03
description: To get the details of specific identity verifier with only space in verifierId
role: resident
restMethod: get
checkErrorsOnlyInResponse: true
inputTemplate: esignet/GetIdVerifierNegTC/GetIdVerifierNegTC
outputTemplate: esignet/error
input: '{
"idvTransactionID": " ",
"verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_id$"
"verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$"
}'
output: '{
"errors": [
Expand All @@ -59,16 +65,18 @@ GetIdVerifier:
]
}'

ESignet_GetIdVerifierNegTC_with_null_in_idvTransactionID:
ESignet_GetIdVerifierNegTC_with_null_in_idvTransactionID_Neg:
endPoint: /v1/signup/identity-verification/identity-verifier/{verifierId}
uniqueIdentifier: TC_ESignet_GetIdVerifierNegTC_04
description: To get the details of specific identity verifier with null in idvTransactionID
role: resident
restMethod: get
checkErrorsOnlyInResponse: true
inputTemplate: esignet/GetIdVerifierNegTC/GetIdVerifierNegTC
outputTemplate: esignet/error
input: '{
"idvTransactionID": null,
"verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_id$"
"verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$"
}'
output: '{
"errors": [
Expand All @@ -79,16 +87,18 @@ GetIdVerifier:
]
}'

ESignet_GetIdVerifierNegTC_with_EmptyVal_in_idvTransactionID:
ESignet_GetIdVerifierNegTC_with_EmptyVal_in_idvTransactionID_Neg:
endPoint: /v1/signup/identity-verification/identity-verifier/{verifierId}
uniqueIdentifier: TC_ESignet_GetIdVerifierNegTC_05
description: To get the details of specific identity verifier with empty value in idvTransactionID
role: resident
restMethod: get
checkErrorsOnlyInResponse: true
inputTemplate: esignet/GetIdVerifierNegTC/GetIdVerifierNegTC
outputTemplate: esignet/error
input: '{
"idvTransactionID": "",
"verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_id$"
"verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$"
}'
output: '{
"errors": [
Expand All @@ -99,16 +109,18 @@ GetIdVerifier:
]
}'

ESignet_GetIdVerifierNegTC_with_missing_idvTransactionID:
ESignet_GetIdVerifierNegTC_with_missing_idvTransactionID_Neg:
endPoint: /v1/signup/identity-verification/identity-verifier/{verifierId}
uniqueIdentifier: TC_ESignet_GetIdVerifierNegTC_06
description: To get the details of specific identity verifier without idvTransactionID
role: resident
restMethod: get
checkErrorsOnlyInResponse: true
inputTemplate: esignet/GetIdVerifierNegTC/GetIdVerifierNegTC
outputTemplate: esignet/error
input: '{
"idvTransactionID": "$REMOVE$",
"verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_id$"
"verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$"
}'
output: '{
"errors": [
Expand Down
Loading

0 comments on commit 7391143

Please sign in to comment.