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

Function mockIssueUpdateApiActors

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

Source from the content-addressed store, hash-verified

2014}
2015
2016func mockIssueUpdateApiActors(t *testing.T, reg *httpmock.Registry) {
2017 reg.Register(
2018 httpmock.GraphQL(`mutation ReplaceActorsForAssignable\b`),
2019 httpmock.GraphQLMutation(`
2020 { "data": { "replaceActorsForAssignable": { "__typename": "" } } }`,
2021 func(inputs map[string]any) {}),
2022 )
2023}
2024
2025func mockIssueUpdateLabels(t *testing.T, reg *httpmock.Registry) {
2026 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