From 9f9aac8bcebb4c1c5c96d7d1dc55714ef9d8a07c Mon Sep 17 00:00:00 2001 From: Kevin Delemme Date: Wed, 6 Nov 2024 11:38:05 -0500 Subject: [PATCH] Fix test --- .../deployment_agnostic/apis/observability/slo/find_slo.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/test/api_integration/deployment_agnostic/apis/observability/slo/find_slo.ts b/x-pack/test/api_integration/deployment_agnostic/apis/observability/slo/find_slo.ts index 1d1be9dc338af..cd0102e8b649a 100644 --- a/x-pack/test/api_integration/deployment_agnostic/apis/observability/slo/find_slo.ts +++ b/x-pack/test/api_integration/deployment_agnostic/apis/observability/slo/find_slo.ts @@ -67,7 +67,7 @@ export default function ({ getService }: DeploymentAgnosticFtrProviderContext) { .get(`/api/observability/slos`) .set(adminRoleAuthc.apiKeyHeader) .set(internalHeaders) - .set('elastic-api-version', '1') + .set('elastic-api-version', '2023-10-31') .send(); expect(response.body.results).length(2); @@ -76,7 +76,7 @@ export default function ({ getService }: DeploymentAgnosticFtrProviderContext) { .get(`/api/observability/slos?kqlQuery=slo.name%3Airrelevant`) .set(adminRoleAuthc.apiKeyHeader) .set(internalHeaders) - .set('elastic-api-version', '1') + .set('elastic-api-version', '2023-10-31') .send() .expect(200); @@ -87,7 +87,7 @@ export default function ({ getService }: DeploymentAgnosticFtrProviderContext) { .get(`/api/observability/slos?kqlQuery=slo.name%3Aintegration`) .set(adminRoleAuthc.apiKeyHeader) .set(internalHeaders) - .set('elastic-api-version', '1') + .set('elastic-api-version', '2023-10-31') .send() .expect(200);