Skip to content

Commit

Permalink
Update test title for proofConfig.created & link.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Jul 3, 2024
1 parent 7c632cb commit 56fa544
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/suites/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ export function verifySuite({
verifier
});
});
it('If proofConfig.created is set and the value is not a valid ' +
'[XMLSCHEMA11-2] datetime, an INVALID_PROOF_DATETIME error MUST be ' +
'raised.', async function() {
this.test.link = 'https://w3c.github.io/vc-di-bbs/#linkage-via-proof-options-and-mandatory-reveal:~:text=If%20proofConfig.created%20is%20set%20and%20if%20the%20value%20is%20not%20a%20valid%20%5BXMLSCHEMA11%2D2%5D%20datetime%2C%20an%20INVALID_PROOF_DATETIME%20error%20MUST%20be%20raised.';
it('If proofConfig.created is set and if the value is not a valid ' +
'[XMLSCHEMA11-2] datetime, an error MUST be raised and SHOULD convey ' +
'an error type of PROOF_GENERATION_ERROR.', async function() {
this.test.link = 'https://w3c.github.io/vc-di-bbs/#:~:text=If%20proofConfig.created%20is%20set%20and%20if%20the%20value%20is%20not%20a%20valid%20%5BXMLSCHEMA11%2D2%5D%20datetime%2C%20an%20error%20MUST%20be%20raised%20and%20SHOULD%20convey%20an%20error%20type%20of%20PROOF_GENERATION_ERROR.';
const credential = cloneTestVector(disclosed?.invalid?.created);
//FIXME assert on error code or message when available
await verificationFail({credential, verifier});
Expand Down

0 comments on commit 56fa544

Please sign in to comment.