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

Function mockProjectV2ItemUpdate

pkg/cmd/pr/edit/edit_test.go:1930–1937  ·  view source on GitHub ↗
(reg *httpmock.Registry)

Source from the content-addressed store, hash-verified

1928}
1929
1930func mockProjectV2ItemUpdate(reg *httpmock.Registry) {
1931 reg.Register(
1932 httpmock.GraphQL(`mutation UpdateProjectV2Items\b`),
1933 httpmock.GraphQLMutation(`
1934 { "data": { "add_000": { "item": { "id": "1" } }, "delete_001": { "item": { "id": "2" } } } }`,
1935 func(inputs map[string]any) {}),
1936 )
1937}
1938
1939type testFetcher struct{}
1940

Callers 1

Test_editRunFunction · 0.70

Calls 3

GraphQLFunction · 0.92
GraphQLMutationFunction · 0.92
RegisterMethod · 0.45

Tested by

no test coverage detected