Skip to content

Commit

Permalink
remove unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
hop-dev committed Nov 29, 2021
1 parent 5b3c3bc commit edf56dd
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions x-pack/test/fleet_api_integration/apis/epm/update_assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,24 +287,6 @@ export default function (providerContext: FtrProviderContext) {
],
});
});
it('should have updated the index patterns', async function () {
const resIndexPatternLogs = await kibanaServer.savedObjects.get({
type: 'index-pattern',
id: 'logs-*',
});
const fields = JSON.parse(resIndexPatternLogs.attributes.fields);
const updated = fields.filter((field: { name: string }) => field.name === 'new_field_name');
expect(!!updated.length).equal(true);
const resIndexPatternMetrics = await kibanaServer.savedObjects.get({
type: 'index-pattern',
id: 'metrics-*',
});
const fieldsMetrics = JSON.parse(resIndexPatternMetrics.attributes.fields);
const updatedMetrics = fieldsMetrics.filter(
(field: { name: string }) => field.name === 'metrics_test_name2'
);
expect(!!updatedMetrics.length).equal(true);
});
it('should have updated the kibana assets', async function () {
const resDashboard = await kibanaServer.savedObjects.get({
type: 'dashboard',
Expand Down

0 comments on commit edf56dd

Please sign in to comment.