Skip to content

Commit 2c2cb51

Browse files
committed
Update test mock to match corrected inline fragments
1 parent 99f1708 commit 2c2cb51

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

pkg/github/granular_tools_test.go

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,9 +810,18 @@ func TestGranularSetIssueFields(t *testing.T) {
810810
URL githubv4.String
811811
}
812812
IssueFieldValues []struct {
813-
Field struct {
813+
TextValue struct {
814+
Value string
815+
} `graphql:"... on IssueFieldTextValue"`
816+
SingleSelectValue struct {
814817
Name string
818+
} `graphql:"... on IssueFieldSingleSelectValue"`
819+
DateValue struct {
820+
Value string
815821
} `graphql:"... on IssueFieldDateValue"`
822+
NumberValue struct {
823+
Value float64
824+
} `graphql:"... on IssueFieldNumberValue"`
816825
}
817826
} `graphql:"setIssueFieldValue(input: $input)"`
818827
}{},

0 commit comments

Comments
 (0)