Skip to content

Commit 299e82e

Browse files
committed
Updating file names
1 parent 65445e2 commit 299e82e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

test/crypto.test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe("Crypto", () => {
6969
it("with valid config with private pkcs1 pem keystore", () => {
7070
const config = JSON.parse(JSON.stringify(testConfig));
7171
delete config.privateKey;
72-
config.keyStore = "./test/res/keys/pkcs1/test_key_pkcs1-1024.pem";
72+
config.keyStore = "./test/res/keys/pkcs1/test_key.pem";
7373
assert.doesNotThrow(() => {
7474
new Crypto(config);
7575
}
@@ -79,7 +79,7 @@ describe("Crypto", () => {
7979
it("with valid config with private pkcs8 pem keystore", () => {
8080
const config = JSON.parse(JSON.stringify(testConfig));
8181
delete config.privateKey;
82-
config.keyStore = "./test/res/keys/pkcs8/test_key_pkcs8-1024.pem";
82+
config.keyStore = "./test/res/keys/pkcs8/test_key.pem";
8383
assert.doesNotThrow(() => {
8484
new Crypto(config);
8585
}
@@ -89,7 +89,7 @@ describe("Crypto", () => {
8989
it("with valid config with private pkcs8 der keystore", () => {
9090
const config = JSON.parse(JSON.stringify(testConfig));
9191
delete config.privateKey;
92-
config.keyStore = "./test/res/keys/pkcs8/test_key_pkcs8-1024.der";
92+
config.keyStore = "./test/res/keys/pkcs8/test_key.der";
9393
assert.doesNotThrow(() => {
9494
new Crypto(config);
9595
}
@@ -300,12 +300,12 @@ describe("Crypto", () => {
300300
const getPrivateKeyPem = Crypto.__get__("getPrivateKeyPem");
301301

302302
it("valid pkcs8 pem", () => {
303-
const pk = getPrivateKeyPem("./test/res/keys/pkcs8/test_key_pkcs8-1024.pem");
303+
const pk = getPrivateKeyPem("./test/res/keys/pkcs8/test_key.pem");
304304
assert.ok(pk);
305305
});
306306

307307
it("valid pkcs1 pem", () => {
308-
const pk = getPrivateKeyPem("./test/res/keys/pkcs1/test_key_pkcs1-1024.pem");
308+
const pk = getPrivateKeyPem("./test/res/keys/pkcs1/test_key.pem");
309309
assert.ok(pk);
310310
});
311311

@@ -320,7 +320,7 @@ describe("Crypto", () => {
320320
const getPrivateKeyDer = Crypto.__get__("getPrivateKeyDer");
321321

322322
it("valid pkcs8 der", () => {
323-
const pk = getPrivateKeyDer("./test/res/keys/pkcs8/test_key_pkcs8-1024.der");
323+
const pk = getPrivateKeyDer("./test/res/keys/pkcs8/test_key.der");
324324
assert.ok(pk);
325325
});
326326

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)