Skip to content

Commit 100fe1e

Browse files
authored
Call setupIngest before fleet_install tests (#72214) (#72226)
1 parent dcf745b commit 100fe1e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

x-pack/test/api_integration/apis/fleet/install.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@
66

77
import expect from '@kbn/expect';
88
import { FtrProviderContext } from '../../ftr_provider_context';
9+
import { setupIngest } from './agents/services';
910

10-
export default function ({ getService }: FtrProviderContext) {
11+
export default function (providerContext: FtrProviderContext) {
12+
const { getService } = providerContext;
1113
const supertest = getService('supertest');
1214

1315
describe('fleet_install', () => {
16+
setupIngest(providerContext);
17+
1418
it('should return a 400 if we try download an install script for a not supported OS', async () => {
1519
await supertest.get(`/api/ingest_manager/fleet/install/gameboy`).expect(400);
1620
});

0 commit comments

Comments
 (0)