()
| 603 | |
| 604 | #[test] |
| 605 | fn add_accepts_name() { |
| 606 | let cmd = TeamMemberAdd { |
| 607 | team_slug: "backend-eng".to_string(), |
| 608 | identity: "alice".to_string(), |
| 609 | role: "contributor".to_string(), |
| 610 | org: None, |
| 611 | }; |
| 612 | assert!(!cmd.identity.contains('@')); |
| 613 | assert!(uuid::Uuid::parse_str(&cmd.identity).is_err()); |
| 614 | } |
| 615 | |
| 616 | // -- TeamMemberUpdate -- |
| 617 |
nothing calls this directly
no outgoing calls
no test coverage detected