Skip to content

Commit

Permalink
Update 11-vc-jwt.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PatStLouis authored and BigBlueHat committed Dec 2, 2024
1 parent 179406a commit f8dc7f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/11-vc-jwt.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,14 @@ describe('Verify Credential - JWT', function() {
testBadRequestError({result, error});
}
});
it('MUST not verify if "@context" items are not strings.',
it('MUST not verify if "@context" items are not strings or objects.',
async function() {
this.test.cell = {
columnId: verifierName,
rowId: this.test.title
};
const copyVc = klona(validVc);
const invalidContextItemTypes = [[], {}, null, undefined, 10, true];
const invalidContextItemTypes = [[], null, undefined, 10, true];
for(const invalidContextItemType of invalidContextItemTypes) {
copyVc['@context'] = [invalidContextItemType];
const body = createRequestBody({vc: copyVc});
Expand Down

0 comments on commit f8dc7f8

Please sign in to comment.