We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b88b0 commit 288abdcCopy full SHA for 288abdc
github/teams_test.go
@@ -2224,3 +2224,23 @@ func TestExternalGroupTeam_Marshal(t *testing.T) {
2224
2225
testJSONMarshal(t, u, want)
2226
}
2227
+
2228
+func TestListExternalGroupsOptions_Marshal(t *testing.T) {
2229
+ testJSONMarshal(t, &ListExternalGroupsOptions{}, "{}")
2230
2231
+ u := &ListExternalGroupsOptions{
2232
+ DisplayName: String("test"),
2233
+ ListOptions: ListOptions{
2234
+ Page: 1,
2235
+ PerPage: 2,
2236
+ },
2237
+ }
2238
2239
+ want := `{
2240
+ "DisplayName": "test",
2241
+ "page": 1,
2242
+ "PerPage": 2
2243
+ }`
2244
2245
+ testJSONMarshal(t, u, want)
2246
+}
0 commit comments