Skip to content

Commit

Permalink
fix: fixed didManagerCreate test
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Sep 25, 2024
1 parent 841a1da commit b3b6756
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/did-provider-key/__tests__/key-did-provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ describe('@sphereon/did-provider-key', () => {
const identifier: IIdentifier = await agent.didManagerCreate({ options })

expect(identifier).toBeDefined()
expect(identifier.did).toBe('did:key:zQ3shqZQs23rWENxtomyw4BNz1p23AkbjzwdeYg6DpmhWDDE6')
// ATTENTION the did:key value changed after switching to importProvidedOrGeneratedKey, but is consistent after the change
// Value used to be did:key:zQ3shqZQs23rWENxtomyw4BNz1p23AkbjzwdeYg6DpmhWDDE6
expect(identifier.did).toBe('did:key:zQ3shWpZYh1Ci8kS18TdMf4C852Bygog1RSCHdR9MeHUaDGTz')
})

it('should remove identifier', async () => {
Expand Down

0 comments on commit b3b6756

Please sign in to comment.