MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / with_org_override

Function with_org_override

atomic-cli/src/commands/team/update.rs:258–267  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256
257 #[test]
258 fn with_org_override() {
259 let cmd = TeamUpdate {
260 slug: "backend-eng".to_string(),
261 name: Some("Name".to_string()),
262 description: None,
263 visibility: None,
264 org: Some("other-org".to_string()),
265 };
266 assert_eq!(cmd.org.as_deref(), Some("other-org"));
267 }
268
269 #[test]
270 fn no_fields_is_invalid() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected