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

Function add_default_role

atomic-cli/src/commands/team/member.rs:570–579  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected