From 2d9772d108f3dfbc00d0b8bcc8d86d296ead780e Mon Sep 17 00:00:00 2001 From: Dimasik Kolezhniuk Date: Fri, 22 Mar 2024 11:09:19 +0100 Subject: [PATCH] Fix test example: replace senderId to senderDID --- tests/iden3comm/packageManager.test.ts | 2 +- tests/iden3comm/zkp.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/iden3comm/packageManager.test.ts b/tests/iden3comm/packageManager.test.ts index 1be4aa35..83037ef3 100644 --- a/tests/iden3comm/packageManager.test.ts +++ b/tests/iden3comm/packageManager.test.ts @@ -61,7 +61,7 @@ describe('tests packageManager with ZKP Packer', () => { ); const e = await pm.pack(MediaType.ZKPMessage, msgBytes, { - senderID: senderDID, + senderDID, provingMethodAlg: new ProvingMethodAlg('groth16-mock', 'authV2') }); diff --git a/tests/iden3comm/zkp.test.ts b/tests/iden3comm/zkp.test.ts index 8b6c9e54..8aad0d85 100644 --- a/tests/iden3comm/zkp.test.ts +++ b/tests/iden3comm/zkp.test.ts @@ -18,7 +18,7 @@ describe('zkp packer tests', () => { const senderDID = DID.parse(identifier); const b = await p.pack(msgBytes, { - senderID: senderDID, + senderDID: senderDID, profileNonce: 0, // if it's genesis identity provingMethodAlg: new ProvingMethodAlg('groth16-mock', 'authV2') } as unknown as ZKPPackerParams);