From 209cde697d07f2af1d47ab28fcdaed27c2758cf0 Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 16 Sep 2024 00:30:22 +0000 Subject: [PATCH] fix keyerror Signed-off-by: Patrick --- aries_cloudagent/did/tests/test_did_key_operations.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/aries_cloudagent/did/tests/test_did_key_operations.py b/aries_cloudagent/did/tests/test_did_key_operations.py index 5d3a8395d2..2893b6873c 100644 --- a/aries_cloudagent/did/tests/test_did_key_operations.py +++ b/aries_cloudagent/did/tests/test_did_key_operations.py @@ -19,14 +19,16 @@ async def test_create_ed25519_did_key(self): key_type=ED25519, profile=self.profile, seed=self.test_seed ) assert results["did"] == self.did - assert results["kid"] == self.kid assert results["multikey"] == self.multikey + assert results["verificationMethod"] == self.kid async def test_bind_did_key(self): results = await DIDKey().create( key_type=ED25519, profile=self.profile, seed=self.test_seed ) - results = await DIDKey().bind(did=results["did"], kid=self.new_kid) + results = await DIDKey().bind( + profile=self.profile, did=results["did"], kid=self.new_kid + ) assert results["did"] == self.did - assert results["kid"] == self.new_kid assert results["multikey"] == self.multikey + assert results["verificationMethod"] == self.new_kid