Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kdelemme committed Nov 6, 2024
1 parent ef1715c commit 9f9aac8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);

Expand All @@ -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);

Expand Down

0 comments on commit 9f9aac8

Please sign in to comment.