()
| 494 | |
| 495 | #[tokio::test] |
| 496 | async fn test_memory_store_list() { |
| 497 | let store = MemorySessionStore::new(); |
| 498 | |
| 499 | for i in 1..=3 { |
| 500 | let mut session = create_test_session_data(); |
| 501 | session.id = format!("session-{}", i); |
| 502 | store.save(&session).await.unwrap(); |
| 503 | } |
| 504 | |
| 505 | let list = store.list().await.unwrap(); |
| 506 | assert_eq!(list.len(), 3); |
| 507 | } |
| 508 | |
| 509 | // ======================================================================== |
| 510 | // SessionData Tests |
nothing calls this directly
no test coverage detected