Skip to content

Commit

Permalink
Fixed wrong path in test
Browse files Browse the repository at this point in the history
  • Loading branch information
bryancalisto committed Oct 25, 2024
1 parent e3a0c24 commit e83f25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ec-sri-invoice-signer/test/utils/cryptography.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe('Give the extractIssuerData function', () => {
});

it('should convert the \'E\' short name into \'EMAILADDRESS\' to match the SRI validator requirements', () => {
const certificatePem = fs.readFileSync(path.resolve('test/test-data/pkcs12/edge-cases/certificate-with-email-address/certificate.pem')).toString('utf-8');
const certificatePem = fs.readFileSync(path.resolve('test/test-data/edge-cases/certificate-with-email-address/pkcs12/certificate.pem')).toString('utf-8');
const certificate = forge.pki.certificateFromPem(certificatePem);

const result = extractIssuerData(certificate);
Expand Down

0 comments on commit e83f25d

Please sign in to comment.