()
| 268 | |
| 269 | #[test] |
| 270 | fn no_fields_is_invalid() { |
| 271 | // Verify that execute() would reject this — we test the validation |
| 272 | // logic inline since we can't call execute() without a server. |
| 273 | let cmd = TeamUpdate { |
| 274 | slug: "backend-eng".to_string(), |
| 275 | name: None, |
| 276 | description: None, |
| 277 | visibility: None, |
| 278 | org: None, |
| 279 | }; |
| 280 | assert!(cmd.name.is_none() && cmd.description.is_none() && cmd.visibility.is_none()); |
| 281 | } |
| 282 | } |
nothing calls this directly
no outgoing calls
no test coverage detected