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 aaf262f commit 8ad980bCopy full SHA for 8ad980b
github/teams_test.go
@@ -1727,3 +1727,21 @@ func TestInvitation_Marshal(t *testing.T) {
1727
1728
testJSONMarshal(t, u, want)
1729
}
1730
+
1731
+func TestIDPGroup_Marshal(t *testing.T) {
1732
+ testJSONMarshal(t, &IDPGroup{}, "{}")
1733
1734
+ u := &IDPGroup{
1735
+ GroupID: String("abc1"),
1736
+ GroupName: String("test group"),
1737
+ GroupDescription: String("test group descripation"),
1738
+ }
1739
1740
+ want := `{
1741
+ "group_id": "abc1",
1742
+ "group_name": "test group",
1743
+ "group_description":"test group descripation"
1744
+ }`
1745
1746
+ testJSONMarshal(t, u, want)
1747
+}
0 commit comments