Skip to content

Commit

Permalink
error field does not exist on result
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Jul 30, 2021
1 parent 54a6095 commit 1e73eec
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function ({ getService }: FtrProviderContext) {
index,
body: searchBody,
});
expect(result.error).to.not.be.ok();

expect(result.hits).to.be.ok();
expect(result.aggregations).to.be.ok();
});
Expand All @@ -67,7 +67,7 @@ export default function ({ getService }: FtrProviderContext) {
index,
body: searchBody,
});
expect(result.error).to.not.be.ok();

expect(result.hits).to.be.ok();
expect(result.aggregations).to.be.ok();
});
Expand All @@ -89,7 +89,7 @@ export default function ({ getService }: FtrProviderContext) {
index,
body: searchBody,
});
expect(result.error).to.not.be.ok();

expect(result.hits).to.be.ok();
expect(result.aggregations).to.be.ok();
});
Expand All @@ -110,7 +110,7 @@ export default function ({ getService }: FtrProviderContext) {
index,
body: searchBody,
});
expect(result.error).to.not.be.ok();

expect(result.hits).to.be.ok();
expect(result.aggregations).to.be.ok();
});
Expand Down

0 comments on commit 1e73eec

Please sign in to comment.