From 179406ab513dd709b4b2dca7a6658b312f36d824 Mon Sep 17 00:00:00 2001 From: Patrick St-Louis <43082425+PatStLouis@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:53:03 -0400 Subject: [PATCH] Update 10-vc-di.js --- tests/10-vc-di.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/10-vc-di.js b/tests/10-vc-di.js index 6cd9e00..a966252 100644 --- a/tests/10-vc-di.js +++ b/tests/10-vc-di.js @@ -181,14 +181,14 @@ describe('Verify Credential - Data Integrity', 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});