diff --git a/packages/credentials/tests/verifiable-credential.spec.ts b/packages/credentials/tests/verifiable-credential.spec.ts index b75b3f9c6..9218afab2 100644 --- a/packages/credentials/tests/verifiable-credential.spec.ts +++ b/packages/credentials/tests/verifiable-credential.spec.ts @@ -20,7 +20,7 @@ describe('Verifiable Credential Tests', () => { } beforeEach(async () => { - issuerDid = await DidKey.create(); + issuerDid = await DidJwk.create(); }); describe('Verifiable Credential (VC)', () => { @@ -217,6 +217,8 @@ describe('Verifiable Credential Tests', () => { expect(currentVc.vcDataModel.evidence).to.deep.equal(evidence); expect(currentVc.vcDataModel.credentialSubject).to.deep.equal(credentialSubject); expect(currentVc.vcDataModel.credentialSchema).to.deep.equal(credentialSchema); + + sinon.restore(); }); it('create and sign vc with did:dht', async () => {