Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security Solution][Endpoint] Remove responder FTR test #175454

Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export default function (providerContext: FtrProviderContext) {
loadTestFile(require.resolve('./endpoint_list'));
loadTestFile(require.resolve('./endpoint_telemetry'));
loadTestFile(require.resolve('./endpoint_permissions'));
loadTestFile(require.resolve('./responder'));
loadTestFile(require.resolve('./endpoint_solution_integrations'));
});
}
247 changes: 0 additions & 247 deletions x-pack/test/security_solution_endpoint/apps/endpoint/responder.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export class TimelineTestService extends FtrService {
await this.supertest
.post(TIMELINE_DRAFT_URL)
.set('kbn-xsrf', 'true')
.set('elastic-api-version', '2023-10-31')
.send({ timelineType: 'default' })
.then(this.getHttpResponseFailureHandler())
.then((response) => response.body as TimelineResponse)
Expand Down Expand Up @@ -112,6 +113,7 @@ export class TimelineTestService extends FtrService {
return await this.supertest
.patch(TIMELINE_URL)
.set('kbn-xsrf', 'true')
.set('elastic-api-version', '2023-10-31')
.send({
timelineId,
version,
Expand All @@ -126,6 +128,7 @@ export class TimelineTestService extends FtrService {
await this.supertest
.delete(TIMELINE_URL)
.set('kbn-xsrf', 'true')
.set('elastic-api-version', '2023-10-31')
.send({
savedObjectIds: Array.isArray(id) ? id : [id],
})
Expand Down