Skip to content

Commit

Permalink
Fix type check
Browse files Browse the repository at this point in the history
  • Loading branch information
jportner committed Jul 31, 2020
1 parent 8cbdc7c commit 077d52b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/api_integration/apis/saved_objects/migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,7 @@ export default ({ getService }: FtrProviderContext) => {

const { body } = await esClient.cat.indices({ index: '.migration-c*', format: 'json' });
// It only created the original and the dest
const indices = body.map((entry) => entry.index).sort();
assert.deepEqual(indices, ['.migration-c_1', '.migration-c_2']);
expect(_.map(body, 'index').sort()).to.eql(['.migration-c_1', '.migration-c_2']);

// The docs in the original index are unchanged
expect(await fetchDocs(esClient, `${index}_1`)).to.eql([
Expand Down

0 comments on commit 077d52b

Please sign in to comment.