diff --git a/x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.test.ts index 128911a279e00..cd42d390546ab 100644 --- a/x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.test.ts +++ b/x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.test.ts @@ -756,7 +756,7 @@ describe('Fleet - validatePackagePolicy()', () => { ], }; - const result = validatePackagePolicy(packagePolicy, packageWithDuplicateTypeInputs, load); + const result = validatePackagePolicy(packagePolicy, packageWithDuplicateTypeInputs, parse); // The first input (filelog_otel) has a valid var, so no error // Single policy template packages use just the effectiveName as key (no template prefix) diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.test.tsx index aaf8c109ab8d0..98383df90419b 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.test.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.test.tsx @@ -565,7 +565,7 @@ describe('StepConfigurePackage with multiple inputs of same type but different i }); it('should render both input panels with their respective titles', async () => { - const validationResults = validatePackagePolicy(otelPackagePolicy, otelPackageInfo, load); + const validationResults = validatePackagePolicy(otelPackagePolicy, otelPackageInfo, parse); renderResult = testRenderer.render( { - const validationResults = validatePackagePolicy(otelPackagePolicy, otelPackageInfo, load); + const validationResults = validatePackagePolicy(otelPackagePolicy, otelPackageInfo, parse); renderResult = testRenderer.render(