Skip to content

Commit

Permalink
fix endpoint test
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaElastic committed Oct 2, 2023
1 parent c1aabee commit 17ce710
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,16 @@ export default function (providerContext: FtrProviderContext) {
})
.expect(200);

// add endpoint package policy, which is required for tamper protection
await supertest
.post(`/api/fleet/epm/packages/endpoint/8.10.2`)
.set('kbn-xsrf', 'xxxx')
.send({
force: true,
})
.expect(200);

// add endpoint package policy, which is required for tamper protection
const res = await supertest
.post(`/api/fleet/package_policies`)
.set('kbn-xsrf', 'xxxx')
.send({
Expand Down

0 comments on commit 17ce710

Please sign in to comment.