()
| 568 | |
| 569 | #[test] |
| 570 | fn add_default_role() { |
| 571 | let cmd = TeamMemberAdd { |
| 572 | team_slug: "backend-eng".to_string(), |
| 573 | identity: "550e8400-e29b-41d4-a716-446655440000".to_string(), |
| 574 | role: "contributor".to_string(), |
| 575 | org: None, |
| 576 | }; |
| 577 | assert_eq!(cmd.team_slug, "backend-eng"); |
| 578 | assert_eq!(cmd.role, "contributor"); |
| 579 | } |
| 580 | |
| 581 | #[test] |
| 582 | fn add_with_maintainer_role() { |
nothing calls this directly
no outgoing calls
no test coverage detected