Fix signatures tests

This commit is contained in:
Yarmo Mackenbach 2021-01-09 16:02:25 +01:00
parent 0d7c33bcf8
commit 527f19e682

View file

@ -49,7 +49,7 @@ describe('signatures.verify', () => {
it('should verify the demonstration signature', async () => { it('should verify the demonstration signature', async () => {
const verification = await doipjs.signatures.verify(sigProfile) const verification = await doipjs.signatures.verify(sigProfile)
expect(verification.errors).to.be.length(0) expect(verification.errors).to.be.length(0)
expect(verification.fingerprint).to.be.equal( expect(verification.publicKey.fingerprint).to.be.equal(
'3637202523e7c1309ab79e99ef2dc5827b445f4b' '3637202523e7c1309ab79e99ef2dc5827b445f4b'
) )
expect(verification.claims).to.be.length(1) expect(verification.claims).to.be.length(1)