()
| 81 | |
| 82 | #[test] |
| 83 | fn show_sessions_lists_active() { |
| 84 | let reg = SessionRegistry::new(); |
| 85 | reg.register("sess-xyz", &sample_params(7, "carol")) |
| 86 | .unwrap(); |
| 87 | let all = reg.list_all(); |
| 88 | assert_eq!(all.len(), 1); |
| 89 | assert_eq!(all[0].session_id, "sess-xyz"); |
| 90 | assert_eq!(all[0].user_id, 7); |
| 91 | assert_eq!(all[0].protocol, "native"); |
| 92 | } |
| 93 | |
| 94 | // --------------------------------------------------------------------------- |
| 95 | // Section B + F: credential version advances on mutation |
nothing calls this directly
no test coverage detected