()
| 192 | |
| 193 | #[test] |
| 194 | fn with_org_override() { |
| 195 | let cmd = OrgUpdate { |
| 196 | slug: Some("target-org".to_string()), |
| 197 | name: Some("Name".to_string()), |
| 198 | email: None, |
| 199 | org: Some("client-org".to_string()), |
| 200 | }; |
| 201 | // The positional slug is the org to update |
| 202 | assert_eq!(cmd.slug.as_deref(), Some("target-org")); |
| 203 | // The --org flag is the client scope |
| 204 | assert_eq!(cmd.org.as_deref(), Some("client-org")); |
| 205 | } |
| 206 | |
| 207 | #[test] |
| 208 | fn no_fields_is_invalid() { |
nothing calls this directly
no outgoing calls
no test coverage detected