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

Function update_team_request_all_fields

atomic-teams/src/team.rs:164–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162
163 #[test]
164 fn update_team_request_all_fields() {
165 let body = UpdateTeamRequest {
166 name: Some("Infra"),
167 description: Some("Infrastructure"),
168 visibility: Some(TeamVisibility::Visible),
169 };
170 let json = serde_json::to_value(&body).unwrap();
171 assert_eq!(json["name"], "Infra");
172 assert_eq!(json["description"], "Infrastructure");
173 assert_eq!(json["visibility"], "visible");
174 }
175
176 #[test]
177 fn path_construction() {

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected