(t *testing.T, reg *httpmock.Registry)
| 2023 | } |
| 2024 | |
| 2025 | func mockIssueUpdateLabels(t *testing.T, reg *httpmock.Registry) { |
| 2026 | reg.Register( |
| 2027 | httpmock.GraphQL(`mutation LabelAdd\b`), |
| 2028 | httpmock.GraphQLMutation(` |
| 2029 | { "data": { "addLabelsToLabelable": { "__typename": "" } } }`, |
| 2030 | func(inputs map[string]any) {}), |
| 2031 | ) |
| 2032 | reg.Register( |
| 2033 | httpmock.GraphQL(`mutation LabelRemove\b`), |
| 2034 | httpmock.GraphQLMutation(` |
| 2035 | { "data": { "removeLabelsFromLabelable": { "__typename": "" } } }`, |
| 2036 | func(inputs map[string]any) {}), |
| 2037 | ) |
| 2038 | } |
| 2039 | |
| 2040 | func mockProjectV2ItemUpdate(t *testing.T, reg *httpmock.Registry) { |
| 2041 | reg.Register( |
no test coverage detected