(user_id: u64, username: &str)
| 29 | } |
| 30 | |
| 31 | fn sample_params(user_id: u64, username: &str) -> SessionParams { |
| 32 | SessionParams { |
| 33 | user_id, |
| 34 | username: username.to_string(), |
| 35 | db_user: username.to_string(), |
| 36 | peer_addr: "127.0.0.1:5555".to_string(), |
| 37 | protocol: "native".to_string(), |
| 38 | auth_method: "password".to_string(), |
| 39 | tenant_id: 1, |
| 40 | credential_version: 0, |
| 41 | current_database: None, |
| 42 | token_expiry_ms: None, |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | // --------------------------------------------------------------------------- |
| 47 | // Section B: session registry re-tested end-to-end via SharedState |
no test coverage detected