Correct invalid Runtime::Feature.enable invocation
What does this MR do and why?
Add e2e tests for license scanning sbom files (!113006 - merged) introduced a ruby invocation error
Failure/Error: Runtime::Feature.enable(:license_scanning_sbom_scanner, @project)
ArgumentError:
wrong number of arguments (given 2, expected 1)
Shared Example Group: "approve license" called from ./qa/specs/features/ee/browser_ui/13_secure/license_compliance_spec.rb:172
The reason being, is that Runtime::Feature.enable
and Runtime::Feature.disable
require kwargs.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Dan Davison