Skip to content

Commit

Permalink
[Functional tests] Drop legacyEs usage (#88939)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
afharo and kibanamachine committed Jan 25, 2021
1 parent 0a54200 commit bcfae9e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/api_integration/apis/saved_objects/resolve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { getKibanaVersion } from './lib/saved_objects_test_utils';

export default function ({ getService }: FtrProviderContext) {
const supertest = getService('supertest');
const es = getService('legacyEs');
const es = getService('es');
const esArchiver = getService('esArchiver');

describe('resolve', () => {
Expand Down Expand Up @@ -81,10 +81,7 @@ export default function ({ getService }: FtrProviderContext) {
before(
async () =>
// just in case the kibana server has recreated it
await es.indices.delete({
index: '.kibana',
ignore: [404],
})
await es.indices.delete({ index: '.kibana' }, { ignore: [404] })
);

it('should return basic 404 without mentioning index', async () =>
Expand Down

0 comments on commit bcfae9e

Please sign in to comment.