From 53ef9b84bdc5a759497f6029aa4066124379db64 Mon Sep 17 00:00:00 2001 From: Aziz Mukhtorjonov Date: Wed, 11 Sep 2024 10:29:18 +0500 Subject: [PATCH] Change test function name, fix lint. Issue #33 Signed-off-by: Aziz Mukhtorjonov --- src/verifier.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/verifier.rs b/src/verifier.rs index 5624e80..cc3c36d 100644 --- a/src/verifier.rs +++ b/src/verifier.rs @@ -74,7 +74,7 @@ impl SDJWTVerifier { .map(|value| value.to_string()) .and_then(|value| { SDJWTCommon::decode_header_and_get_sign_algorithm(&value) - } ); + }); verifier.verify_key_binding_jwt( expected_aud.to_owned(), @@ -743,7 +743,7 @@ mod tests { assert_eq!(user_claims, verified_claims); } #[test] - fn verify_when_sd_jwt_es256_key_binding_eddsa() { + fn verify_presentation_when_sd_jwt_uses_es256_and_key_binding_uses_eddsa() { let user_claims = json!({ "address": {