[Fleet] Add Test coverage for preconfiguration variable override logic. #113248
Labels
Team:Fleet
Team label for Observability Data Collection Fleet team
technical debt
Improvement of the software architecture and operational architecture
Ref #113204
Ref elastic/fleet-server#742
Add automated test coverage for Fleet's
preconfiguration
andpackage_policy
services that validates our variable overriding logic during setup.The code path we need to hit is here, in our
addPreconfiguredPolicyPackages
method:kibana/x-pack/plugins/fleet/server/services/preconfiguration.ts
Lines 370 to 379 in 7010b67
We should also add functional tests in the
fleet_api_integration
test project for thePUT /api/fleet/setup/preconfiguration
API endpoint.The text was updated successfully, but these errors were encountered: