@@ -185,8 +185,8 @@ func TestProjectsService_ListProjectFieldsForOrg(t *testing.T) {
185185 "dataType": "single_select",
186186 "url": "https://api.github.com/projects/1/fields/field1",
187187 "options": [
188- {"id": 1 , "name": "Todo", "color": "blue", "description": "Tasks to be done"},
189- {"id": 2 , "name": "In Progress", "color": "yellow"}
188+ {"id": "1" , "name": "Todo", "color": "blue", "description": "Tasks to be done"},
189+ {"id": "2" , "name": "In Progress", "color": "yellow"}
190190 ],
191191 "created_at": "2011-01-02T15:04:05Z",
192192 "updated_at": "2012-01-02T15:04:05Z"
@@ -254,8 +254,8 @@ func TestProjectsService_ListProjectFieldsForUser(t *testing.T) {
254254 "dataType": "single_select",
255255 "url": "https://api.github.com/projects/1/fields/field1",
256256 "options": [
257- {"id": 1 , "name": "Todo", "color": "blue", "description": "Tasks to be done"},
258- {"id": 2 , "name": "In Progress", "color": "yellow"}
257+ {"id": "1" , "name": "Todo", "color": "blue", "description": "Tasks to be done"},
258+ {"id": "2" , "name": "In Progress", "color": "yellow"}
259259 ],
260260 "created_at": "2011-01-02T15:04:05Z",
261261 "updated_at": "2012-01-02T15:04:05Z"
@@ -317,8 +317,8 @@ func TestProjectsService_GetProjectFieldForOrg(t *testing.T) {
317317 "dataType": "single_select",
318318 "url": "https://api.github.com/projects/1/fields/field1",
319319 "options": [
320- {"id": 1 , "name": "Todo", "color": "blue", "description": "Tasks to be done"},
321- {"id": 2 , "name": "In Progress", "color": "yellow"}
320+ {"id": "1" , "name": "Todo", "color": "blue", "description": "Tasks to be done"},
321+ {"id": "2" , "name": "In Progress", "color": "yellow"}
322322 ],
323323 "created_at": "2011-01-02T15:04:05Z",
324324 "updated_at": "2012-01-02T15:04:05Z"
@@ -358,8 +358,8 @@ func TestProjectsService_GetProjectFieldForUser(t *testing.T) {
358358 "dataType": "single_select",
359359 "url": "https://api.github.com/projects/1/fields/field3",
360360 "options": [
361- {"id": 1 , "name": "Done", "color": "red", "description": "Done task"},
362- {"id": 2 , "name": "In Progress", "color": "yellow"}
361+ {"id": "1" , "name": "Done", "color": "red", "description": "Done task"},
362+ {"id": "2" , "name": "In Progress", "color": "yellow"}
363363 ],
364364 "created_at": "2011-01-02T15:04:05Z",
365365 "updated_at": "2012-01-02T15:04:05Z"
@@ -588,10 +588,10 @@ func TestProjectV2Field_Marshal(t *testing.T) {
588588 URL : "https://api.github.com/projects/1/fields/field1" ,
589589 Options : []* ProjectV2FieldOption {
590590 {
591- ID : Ptr (int64 ( 1 ) ),
592- Name : "Todo" ,
593- Color : "blue" ,
594- Description : "Tasks to be done" ,
591+ ID : Ptr ("1" ),
592+ Name : Ptr ( "Todo" ) ,
593+ Color : Ptr ( "blue" ) ,
594+ Description : Ptr ( "Tasks to be done" ) ,
595595 },
596596 },
597597 CreatedAt : & Timestamp {referenceTime },
@@ -606,7 +606,7 @@ func TestProjectV2Field_Marshal(t *testing.T) {
606606 "url": "https://api.github.com/projects/1/fields/field1",
607607 "options": [
608608 {
609- "id": 1 ,
609+ "id": "1" ,
610610 "name": "Todo",
611611 "color": "blue",
612612 "description": "Tasks to be done"
0 commit comments