Skip to content

Commit

Permalink
Update title & add link for issuer cryptosuite prop.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Jul 3, 2024
1 parent 5257a02 commit c537fad
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions tests/suites/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,15 @@ export function createSuite({
verificationMethodDocuments.push(verificationMethodDocument);
}
});
it('The field "cryptosuite" MUST be "bbs-2023".', function() {
proofs.some(
proof => proof.cryptosuite === 'bbs-2023'
).should.equal(true, 'Expected at least one proof to have ' +
'"cryptosuite" property "bbs-2023".'
);
});
it('The cryptosuite property of the proof MUST be bbs-2023.',
function() {
this.test.link = 'https://w3c.github.io/vc-di-bbs/#:~:text=The%20cryptosuite%20property%20of%20the%20proof%20MUST%20be%20bbs%2D2023.';
proofs.some(
proof => proof.cryptosuite === 'bbs-2023'
).should.equal(true, 'Expected at least one proof to have ' +
'"cryptosuite" property "bbs-2023".'
);
});
/*
* Checked on 2024-04-17.
* {@link https://w3c.github.io/vc-di-bbs/#create-base-proof-bbs-2023:~:text=The%20type%20property%20of%20the%20proof%20MUST%20be%20DataIntegrityProof.}
Expand Down

0 comments on commit c537fad

Please sign in to comment.