(t *testing.T)
| 942 | } |
| 943 | |
| 944 | func TestCreateOrgInvitationOptions_Marshal(t *testing.T) { |
| 945 | t.Parallel() |
| 946 | testJSONMarshal(t, &CreateOrgInvitationOptions{}, "{}") |
| 947 | |
| 948 | u := &CreateOrgInvitationOptions{ |
| 949 | InviteeID: Ptr(int64(1)), |
| 950 | Email: Ptr("email"), |
| 951 | Role: Ptr("role"), |
| 952 | TeamID: []int64{1}, |
| 953 | } |
| 954 | |
| 955 | want := `{ |
| 956 | "invitee_id": 1, |
| 957 | "email": "email", |
| 958 | "role": "role", |
| 959 | "team_ids": [ |
| 960 | 1 |
| 961 | ] |
| 962 | }` |
| 963 | |
| 964 | testJSONMarshal(t, u, want) |
| 965 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…