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

Function mockPullRequestUpdate

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

Source from the content-addressed store, hash-verified

1854}
1855
1856func mockPullRequestUpdate(reg *httpmock.Registry) {
1857 reg.Register(
1858 httpmock.GraphQL(`mutation PullRequestUpdate\b`),
1859 httpmock.StringResponse(`{}`))
1860}
1861
1862func mockPullRequestUpdateWithBody(t *testing.T, reg *httpmock.Registry, wantBody string) {
1863 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