Skip to content

Commit

Permalink
Add missing options to expired 1.0 VC test.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Sep 15, 2024
1 parent aa0dcdc commit 12e7ae2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/50-issue.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,13 @@ function _runSuite({
const credential = mockCredential();
credential.id = `urn:uuid:${uuid()}`;
credential.expirationDate = '2020-05-31T19:21:25Z';
const verifiableCredential = await issueCredential({
const {verifiableCredential} = await issueCredential({
credential,
suites,
derived,
mandatoryPointers,
selectivePointers,
issuer: keyDoc.controller,
// set `now` to expiration date, allowing the credential
// to be issued
// without failing the expired check
Expand Down

0 comments on commit 12e7ae2

Please sign in to comment.