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

Function default_visibility_is_none

atomic-cli/src/commands/team/create.rs:225–234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

223
224 #[test]
225 fn default_visibility_is_none() {
226 let cmd = TeamCreate {
227 name: "Frontend".to_string(),
228 description: None,
229 visibility: None,
230 org: None,
231 };
232 // When visibility is None, the server applies its default (visible).
233 assert!(cmd.visibility.is_none());
234 }
235
236 #[test]
237 fn with_org_override() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected