Skip to content

Commit

Permalink
EMT-65: move sample files for future change
Browse files Browse the repository at this point in the history
  • Loading branch information
nnamdifrankie committed Jan 27, 2020
1 parent 1128056 commit d96e1f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/test/api_integration/apis/endpoint/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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')
Expand Down

0 comments on commit d96e1f9

Please sign in to comment.