Skip to content

Commit

Permalink
test: update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
amagyar-iohk committed Apr 4, 2023
1 parent 644619b commit fce3abd
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 408 deletions.
4 changes: 2 additions & 2 deletions domain/models/JWTVerifiableCredential.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ export class JWTVerifiablePayload implements VerifiableCredential {
if (sub) {
this.subject = DID.fromString(sub);
}
this.issuanceDate = new Date(nbf).toDateString();
this.issuanceDate = new Date(nbf).toISOString();
if (exp) {
this.expirationDate = new Date(exp).toDateString();
this.expirationDate = new Date(exp).toISOString();
}
if (verifiableCredential.credentialSchema) {
this.credentialSchema = verifiableCredential.credentialSchema;
Expand Down
Loading

0 comments on commit fce3abd

Please sign in to comment.