()
| 215 | |
| 216 | #[test] |
| 217 | fn update_org_request_empty() { |
| 218 | let body = UpdateOrgRequest { |
| 219 | name: None, |
| 220 | email: None, |
| 221 | }; |
| 222 | let json = serde_json::to_value(&body).unwrap(); |
| 223 | let obj = json.as_object().unwrap(); |
| 224 | assert!(obj.is_empty()); |
| 225 | } |
| 226 | |
| 227 | #[test] |
| 228 | fn url_formatting() { |