mockRequestReviewsByLogin mocks the RequestReviewsByLogin GraphQL mutation used on github.com when ApiActorsSupported is enabled.
(reg *httpmock.Registry)
| 1904 | // mockRequestReviewsByLogin mocks the RequestReviewsByLogin GraphQL mutation |
| 1905 | // used on github.com when ApiActorsSupported is enabled. |
| 1906 | func mockRequestReviewsByLogin(reg *httpmock.Registry) { |
| 1907 | reg.Register( |
| 1908 | httpmock.GraphQL(`mutation RequestReviewsByLogin\b`), |
| 1909 | httpmock.GraphQLMutation(` |
| 1910 | { "data": { "requestReviewsByLogin": { "clientMutationId": "" } } }`, |
| 1911 | func(inputs map[string]any) {}), |
| 1912 | ) |
| 1913 | } |
| 1914 | |
| 1915 | func mockPullRequestUpdateLabels(reg *httpmock.Registry) { |
| 1916 | reg.Register( |
no test coverage detected