Accept integer parameter in runner_type for GetUsageServiceBase
What does this MR do and why?
This MR fixes a bug that was detected in a test (even though this did not yet result in a broken master, for some reason).
- Changelog: fixed
- EE: true
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
n/a
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Run the test in ee/spec/requests/api/graphql/mutations/ci/runners/export_usage_spec.rb#L52
. It should fail in master
and pass in this branch.
Edited by Pedro Pombeiro