MCPcopy Create free account
hub / github.com/cli/cli / mockIssueProjectItemsGet

Function mockIssueProjectItemsGet

pkg/cmd/issue/edit/edit_test.go:1901–1913  ·  view source on GitHub ↗
(_ *testing.T, reg *httpmock.Registry)

Source from the content-addressed store, hash-verified

1899}
1900
1901func mockIssueProjectItemsGet(_ *testing.T, reg *httpmock.Registry) {
1902 reg.Register(
1903 httpmock.GraphQL(`query IssueProjectItems\b`),
1904 httpmock.StringResponse(`
1905 { "data": { "repository": { "issue": {
1906 "projectItems": {
1907 "nodes": [
1908 { "id": "ITEMID", "project": { "title": "RoadmapV2" } }
1909 ]
1910 }
1911 } } } }`),
1912 )
1913}
1914
1915func mockRepoMetadata(_ *testing.T, reg *httpmock.Registry) {
1916 reg.Register(

Callers 1

Test_editRunFunction · 0.85

Calls 3

GraphQLFunction · 0.92
StringResponseFunction · 0.92
RegisterMethod · 0.45

Tested by

no test coverage detected