()
| 544 | |
| 545 | #[test] |
| 546 | fn add_with_admin_role() { |
| 547 | let cmd = MemberAdd { |
| 548 | identity: "550e8400-e29b-41d4-a716-446655440000".to_string(), |
| 549 | role: "admin".to_string(), |
| 550 | org: Some("acme".to_string()), |
| 551 | }; |
| 552 | assert_eq!(cmd.role, "admin"); |
| 553 | assert_eq!(cmd.org.as_deref(), Some("acme")); |
| 554 | } |
| 555 | |
| 556 | #[test] |
| 557 | fn add_accepts_email() { |
nothing calls this directly
no outgoing calls
no test coverage detected