Skip to content

Commit

Permalink
Fix test data for expired validUntil.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Nov 28, 2023
1 parent 3e4fdcb commit e6ecd59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/10-verify.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -805,8 +805,8 @@ for(const [version, mockCredential] of versionedCredentials) {
it('should NOT verify if "validUntil" in the past', () => {
const credential = jsonld.clone(mockCredential);
credential.issuer = 'did:example:12345';
credential.validUntil = '2025-06-31T19:21:25Z';
const now = '2022-10-30T19:21:25Z';
credential.validUntil = '2022-06-31T19:21:25Z';
const now = '2025-10-30T19:21:25Z';
let error;
try {
vc._checkCredential({credential, now});
Expand Down

0 comments on commit e6ecd59

Please sign in to comment.