File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ type issueFieldMetadataOption struct {
4949}
5050
5151type issueFieldMetadataNode struct {
52- DatabaseID githubv4. Int `graphql:"databaseId"`
53- Name githubv4.String
54- DataType githubv4.String
52+ DatabaseID githubv4. Int `graphql:"databaseId"`
53+ Name githubv4.String
54+ DataType githubv4.String
5555 SingleSelectField struct {
5656 Options []issueFieldMetadataOption `graphql:"options"`
5757 } `graphql:"... on IssueFieldSingleSelect"`
Original file line number Diff line number Diff line change @@ -1093,13 +1093,13 @@ func Test_CreateIssue(t *testing.T) {
10931093 }
10941094
10951095 tests := []struct {
1096- name string
1097- mockedClient * http.Client
1096+ name string
1097+ mockedClient * http.Client
10981098 mockedGQLClient * http.Client
1099- requestArgs map [string ]any
1100- expectError bool
1101- expectedIssue * github.Issue
1102- expectedErrMsg string
1099+ requestArgs map [string ]any
1100+ expectError bool
1101+ expectedIssue * github.Issue
1102+ expectedErrMsg string
11031103 }{
11041104 {
11051105 name : "successful issue creation with all fields" ,
@@ -2095,7 +2095,7 @@ func Test_UpdateIssue(t *testing.T) {
20952095 "databaseId" : 101 ,
20962096 "name" : "Priority" ,
20972097 "dataType" : "single_select" ,
2098- "options" : []map [string ]any {{"databaseId" : 9001 , "name" : "P1" }},
2098+ "options" : []map [string ]any {{"databaseId" : 9001 , "name" : "P1" }},
20992099 },
21002100 {
21012101 "databaseId" : 102 ,
You can’t perform that action at this time.
0 commit comments