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

Function mockPullRequestAddReviewers

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

Source from the content-addressed store, hash-verified

1890}
1891
1892func mockPullRequestAddReviewers(reg *httpmock.Registry) {
1893 reg.Register(
1894 httpmock.REST("POST", "repos/OWNER/REPO/pulls/0/requested_reviewers"),
1895 httpmock.StringResponse(`{}`))
1896}
1897
1898func mockPullRequestRemoveReviewers(reg *httpmock.Registry) {
1899 reg.Register(

Callers 1

Test_editRunFunction · 0.85

Calls 3

RESTFunction · 0.92
StringResponseFunction · 0.92
RegisterMethod · 0.45

Tested by

no test coverage detected