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

Function mockPullRequestRemoveReviewers

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

Source from the content-addressed store, hash-verified

1896}
1897
1898func mockPullRequestRemoveReviewers(reg *httpmock.Registry) {
1899 reg.Register(
1900 httpmock.REST("DELETE", "repos/OWNER/REPO/pulls/0/requested_reviewers"),
1901 httpmock.StringResponse(`{}`))
1902}
1903
1904// mockRequestReviewsByLogin mocks the RequestReviewsByLogin GraphQL mutation
1905// used on github.com when ApiActorsSupported is enabled.

Callers 1

Test_editRunFunction · 0.85

Calls 3

RESTFunction · 0.92
StringResponseFunction · 0.92
RegisterMethod · 0.45

Tested by

no test coverage detected