From f86277bb0f695a7d867ea0a6a42ac4e1454bd6a0 Mon Sep 17 00:00:00 2001 From: jpdjere Date: Tue, 6 Feb 2024 17:49:05 +0100 Subject: [PATCH] Fix test --- .../utils/rules/prebuilt_rules/install_fleet_package_by_url.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_fleet_package_by_url.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_fleet_package_by_url.ts index 331b260cb9a9a..2839795ab1976 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_fleet_package_by_url.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/rules/prebuilt_rules/install_fleet_package_by_url.ts @@ -82,7 +82,7 @@ export const installPrebuiltRulesPackageByVersion = async ( .set('elastic-api-version', '2023-10-31') .type('application/json') .send({ force: true }) - .expect(500); + .expect(200); expect((testResponse.body as InstallPackageResponse).items).toBeDefined(); expect((testResponse.body as InstallPackageResponse).items.length).toBeGreaterThan(0);