diff --git a/src/session/sqlite.rs b/src/session/sqlite.rs index 5126066..b088af2 100644 --- a/src/session/sqlite.rs +++ b/src/session/sqlite.rs @@ -248,8 +248,6 @@ impl SessionStore for SqliteSessionStore { #[cfg(test)] mod tests { use super::*; - use crate::token::TokenPayload; - use std::collections::HashMap; fn create_test_session() -> Session { let now = chrono::Utc::now().timestamp(); diff --git a/src/token.rs b/src/token.rs index bd46279..2f4692b 100644 --- a/src/token.rs +++ b/src/token.rs @@ -341,8 +341,8 @@ mod tests { } // Test secret that meets the 32-byte minimum requirement - const TEST_SECRET: &[u8; 32] = b"test-secret-key-32bytes-long!!!"; - const TEST_SECRET_2: &[u8; 32] = b"another-secret-32-bytes-long!!!"; + const TEST_SECRET: &[u8; 32] = b"test-secret-key-32bytes-long!!!!"; + const TEST_SECRET_2: &[u8; 32] = b"another-secret-32-bytes-long!!!!"; #[test] fn test_sign_and_verify() {