From d96e1f95d388857083ed82e3bcd424db19778ab7 Mon Sep 17 00:00:00 2001 From: nnamdifrankie Date: Mon, 27 Jan 2020 10:08:22 -0500 Subject: [PATCH] EMT-65: move sample files for future change --- x-pack/test/api_integration/apis/endpoint/endpoints.ts | 6 +++--- .../endpoint/endpoints/{ => api_feature}/data.json | 0 .../endpoint/endpoints/{ => api_feature}/mappings.json | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename x-pack/test/functional/es_archives/endpoint/endpoints/{ => api_feature}/data.json (100%) rename x-pack/test/functional/es_archives/endpoint/endpoints/{ => api_feature}/mappings.json (100%) diff --git a/x-pack/test/api_integration/apis/endpoint/endpoints.ts b/x-pack/test/api_integration/apis/endpoint/endpoints.ts index c726231a82778b..1c520fe92e38ee 100644 --- a/x-pack/test/api_integration/apis/endpoint/endpoints.ts +++ b/x-pack/test/api_integration/apis/endpoint/endpoints.ts @@ -12,7 +12,7 @@ export default function({ getService }: FtrProviderContext) { describe('test endpoints api', () => { describe('POST /api/endpoint/endpoints when index is empty', () => { it('endpoints api should return empty result when index is empty', async () => { - await esArchiver.unload('endpoint/endpoints'); + await esArchiver.unload('endpoint/endpoints/api_feature'); const { body } = await supertest .post('/api/endpoint/endpoints') .set('kbn-xsrf', 'xxx') @@ -26,8 +26,8 @@ export default function({ getService }: FtrProviderContext) { }); describe('POST /api/endpoint/endpoints when index is not empty', () => { - before(() => esArchiver.load('endpoint/endpoints')); - after(() => esArchiver.unload('endpoint/endpoints')); + before(() => esArchiver.load('endpoint/endpoints/api_feature')); + after(() => esArchiver.unload('endpoint/endpoints/api_feature')); it('endpoints api should return one entry for each endpoint with default paging', async () => { const { body } = await supertest .post('/api/endpoint/endpoints') diff --git a/x-pack/test/functional/es_archives/endpoint/endpoints/data.json b/x-pack/test/functional/es_archives/endpoint/endpoints/api_feature/data.json similarity index 100% rename from x-pack/test/functional/es_archives/endpoint/endpoints/data.json rename to x-pack/test/functional/es_archives/endpoint/endpoints/api_feature/data.json diff --git a/x-pack/test/functional/es_archives/endpoint/endpoints/mappings.json b/x-pack/test/functional/es_archives/endpoint/endpoints/api_feature/mappings.json similarity index 100% rename from x-pack/test/functional/es_archives/endpoint/endpoints/mappings.json rename to x-pack/test/functional/es_archives/endpoint/endpoints/api_feature/mappings.json