File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ type issueFieldMetadataOption struct {
4848}
4949
5050type issueFieldMetadataNode struct {
51- DatabaseID githubv4. Int `graphql:"databaseId"`
52- Name githubv4.String
53- DataType githubv4.String
51+ DatabaseID githubv4. Int `graphql:"databaseId"`
52+ Name githubv4.String
53+ DataType githubv4.String
5454 SingleSelectField struct {
5555 Options []issueFieldMetadataOption `graphql:"options"`
5656 } `graphql:"... on IssueFieldSingleSelect"`
Original file line number Diff line number Diff line change @@ -812,13 +812,13 @@ func Test_CreateIssue(t *testing.T) {
812812 }
813813
814814 tests := []struct {
815- name string
816- mockedClient * http.Client
815+ name string
816+ mockedClient * http.Client
817817 mockedGQLClient * http.Client
818- requestArgs map [string ]any
819- expectError bool
820- expectedIssue * github.Issue
821- expectedErrMsg string
818+ requestArgs map [string ]any
819+ expectError bool
820+ expectedIssue * github.Issue
821+ expectedErrMsg string
822822 }{
823823 {
824824 name : "successful issue creation with all fields" ,
@@ -1685,7 +1685,7 @@ func Test_UpdateIssue(t *testing.T) {
16851685 "databaseId" : 101 ,
16861686 "name" : "Priority" ,
16871687 "dataType" : "single_select" ,
1688- "options" : []map [string ]any {{"databaseId" : 9001 , "name" : "P1" }},
1688+ "options" : []map [string ]any {{"databaseId" : 9001 , "name" : "P1" }},
16891689 },
16901690 {
16911691 "databaseId" : 102 ,
You can’t perform that action at this time.
0 commit comments