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 2ac6fb8 commit cb9253aCopy full SHA for cb9253a
github/teams_test.go
@@ -2154,3 +2154,19 @@ func TestExternalGroupMember_Marshal(t *testing.T) {
2154
2155
testJSONMarshal(t, u, want)
2156
}
2157
+
2158
+func TestExternalGroupTeam_Marshal(t *testing.T) {
2159
+ testJSONMarshal(t, &ExternalGroupTeam{}, "{}")
2160
2161
+ u := &ExternalGroupTeam{
2162
+ TeamID: Int64(123),
2163
+ TeamName: String("test"),
2164
+ }
2165
2166
+ want := `{
2167
+ "team_id": 123,
2168
+ "team_name": "test"
2169
+ }`
2170
2171
+ testJSONMarshal(t, u, want)
2172
+}
0 commit comments