Skip to content

Commit

Permalink
Correct assertion on validUntil in the future.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Nov 30, 2023
1 parent a1aa8be commit e76ef4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/10-verify.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ for(const [version, mockCredential] of versionedCredentials) {
error = e;
}
should.not.exist(error,
'Should not throw error when "issuanceDate" is valid');
'Should not throw error when "validUntil" in the future');
});
it('should accept if now is between "validFrom" & "validUntil"', () => {
const credential = jsonld.clone(mockCredential);
Expand Down

0 comments on commit e76ef4f

Please sign in to comment.