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

Function update_org_request_partial

atomic-teams/src/org.rs:206–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204
205 #[test]
206 fn update_org_request_partial() {
207 let body = UpdateOrgRequest {
208 name: Some("New Name"),
209 email: None,
210 };
211 let json = serde_json::to_value(&body).unwrap();
212 assert_eq!(json["name"], "New Name");
213 assert!(json.get("email").is_none());
214 }
215
216 #[test]
217 fn update_org_request_empty() {

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected