diff --git a/tests/hotp_match_rfc_samples.rs b/tests/hotp_match_rfc_samples.rs index b25bd3f..a8c5d9a 100644 --- a/tests/hotp_match_rfc_samples.rs +++ b/tests/hotp_match_rfc_samples.rs @@ -3,7 +3,7 @@ use rusotp::{Algorithm, HOTP}; const SECRET: &str = "12345678901234567890"; #[test] -fn otp_should_be_generated() { +fn otp_should_match_with_rfc_samples() { vec![ (0, "755224"), (1, "287082"), diff --git a/tests/totp_match_rfc_samples.rs b/tests/totp_match_rfc_samples.rs index 91f9316..2806ef2 100644 --- a/tests/totp_match_rfc_samples.rs +++ b/tests/totp_match_rfc_samples.rs @@ -5,7 +5,7 @@ const SECRET_SHA256: &str = "12345678901234567890123456789012"; const SECRET_SHA512: &str = "1234567890123456789012345678901234567890123456789012345678901234"; #[test] -fn otp_should_be_generated() { +fn otp_should_match_with_rfc_samples() { vec![ (SECRET_SHA1, 59, "94287082", Algorithm::SHA1), (SECRET_SHA256, 59, "46119246", Algorithm::SHA256),