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,