Skip to content

Commit

Permalink
test: remove comment on vc verification story
Browse files Browse the repository at this point in the history
Signed-off-by: Allain Magyar <[email protected]>
  • Loading branch information
amagyar-iohk committed Jun 26, 2024
1 parent 9be12ab commit 01424d2
Showing 1 changed file with 39 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,42 +14,42 @@ Feature: Vc Verification schemas
| SIGNATURE_VERIFICATION | true |
| SEMANTIC_CHECK_OF_CLAIMS | true |
Then Holder should see that all checks have passed
#
# Scenario: Expected checks for generated JWT VC
# Given Holder has a JWT VC for Verification API
# When Holder sends the JWT Credential to Issuer Verification API
# | ALGORITHM_VERIFICATION | true |
# | AUDIENCE_CHECK | true |
# | EXPIRATION_CHECK | true |
# | ISSUER_IDENTIFICATION | true |
# | NOT_BEFORE_CHECK | true |
# | SIGNATURE_VERIFICATION | false |
# | SEMANTIC_CHECK_OF_CLAIMS | true |
# Then Holder should see that all checks have passed
#
# Scenario Outline: Expected failures
# Given Holder has a <problem> problem in the Verifiable Credential
# When Holder sends the JWT Credential to Issuer Verification API
# | <problem> | false |
# Then Holder should see that verification has failed with <problem> problem
# Examples:
# | problem |
# | ALGORITHM_VERIFICATION |
# | AUDIENCE_CHECK |
# | EXPIRATION_CHECK |
# | ISSUER_IDENTIFICATION |
# | NOT_BEFORE_CHECK |
# | SIGNATURE_VERIFICATION |
# | SEMANTIC_CHECK_OF_CLAIMS |
#
# Scenario Outline: Unsupported verification check should fail
# Given Holder has a JWT VC for Verification API
# When Holder sends the JWT Credential to Issuer Verification API
# | <verification> | false |
# Then Holder should see the check has failed
# Examples:
# | verification |
# | COMPLIANCE_WITH_STANDARDS |
# | INTEGRITY_OF_CLAIMS |
# | REVOCATION_CHECK |
# | SUBJECT_VERIFICATION |

Scenario: Expected checks for generated JWT VC
Given Holder has a JWT VC for Verification API
When Holder sends the JWT Credential to Issuer Verification API
| ALGORITHM_VERIFICATION | true |
| AUDIENCE_CHECK | true |
| EXPIRATION_CHECK | true |
| ISSUER_IDENTIFICATION | true |
| NOT_BEFORE_CHECK | true |
| SIGNATURE_VERIFICATION | false |
| SEMANTIC_CHECK_OF_CLAIMS | true |
Then Holder should see that all checks have passed

Scenario Outline: Expected failures
Given Holder has a <problem> problem in the Verifiable Credential
When Holder sends the JWT Credential to Issuer Verification API
| <problem> | false |
Then Holder should see that verification has failed with <problem> problem
Examples:
| problem |
| ALGORITHM_VERIFICATION |
| AUDIENCE_CHECK |
| EXPIRATION_CHECK |
| ISSUER_IDENTIFICATION |
| NOT_BEFORE_CHECK |
| SIGNATURE_VERIFICATION |
| SEMANTIC_CHECK_OF_CLAIMS |

Scenario Outline: Unsupported verification check should fail
Given Holder has a JWT VC for Verification API
When Holder sends the JWT Credential to Issuer Verification API
| <verification> | false |
Then Holder should see the check has failed
Examples:
| verification |
| COMPLIANCE_WITH_STANDARDS |
| INTEGRITY_OF_CLAIMS |
| REVOCATION_CHECK |
| SUBJECT_VERIFICATION |

0 comments on commit 01424d2

Please sign in to comment.