MCPcopy Index your code
hub / github.com/cli/cli / mockIssueUpdateApiActors

Function mockIssueUpdateApiActors

pkg/cmd/issue/edit/edit_test.go:1425–1432  ·  view source on GitHub ↗
(t *testing.T, reg *httpmock.Registry)

Source from the content-addressed store, hash-verified

1423}
1424
1425func mockIssueUpdateApiActors(t *testing.T, reg *httpmock.Registry) {
1426 reg.Register(
1427 httpmock.GraphQL(`mutation ReplaceActorsForAssignable\b`),
1428 httpmock.GraphQLMutation(`
1429 { "data": { "replaceActorsForAssignable": { "__typename": "" } } }`,
1430 func(inputs map[string]interface{}) {}),
1431 )
1432}
1433
1434func mockIssueUpdateLabels(t *testing.T, reg *httpmock.Registry) {
1435 reg.Register(

Callers 1

Test_editRunFunction · 0.85

Calls 3

GraphQLFunction · 0.92
GraphQLMutationFunction · 0.92
RegisterMethod · 0.45

Tested by

no test coverage detected