(user: &str, addr: &str, proto: &str, auth: &str)
| 178 | use super::*; |
| 179 | |
| 180 | fn params(user: &str, addr: &str, proto: &str, auth: &str) -> SessionParams { |
| 181 | SessionParams { |
| 182 | user_id: user.into(), |
| 183 | db_user: user.into(), |
| 184 | peer_addr: addr.into(), |
| 185 | protocol: proto.into(), |
| 186 | auth_method: auth.into(), |
| 187 | tenant_id: 1, |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | #[test] |
| 192 | fn register_and_kill() { |
no outgoing calls