From a9816e9c8b400234829a96a26d463798d4d6c837 Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Mon, 23 Sep 2024 01:30:48 -0400 Subject: [PATCH] Fix tests w/provided issuer DID. --- test/mocha/helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/mocha/helpers.js b/test/mocha/helpers.js index 2e7a43f1..895c3797 100644 --- a/test/mocha/helpers.js +++ b/test/mocha/helpers.js @@ -520,14 +520,14 @@ export async function provisionDependencies({ const {data: serviceAgent} = await httpClient.get( serviceAgentUrl, {agent}); - const assertionMethodZcaps = did ? zcaps : {}; - // delegate edv, hmac, and key agreement key zcaps to service agent zcaps = await delegateEdvZcaps({ edvConfig, hmac, keyAgreementKey, serviceAgent, capabilityAgent }); + const assertionMethodZcaps = did ? zcaps : {}; + // delegate zcaps for each cryptosuite await delegateAssertionMethodZcaps({ envelope, cryptosuites, serviceAgent, capabilityAgent,