Skip to content

Commit

Permalink
adjust assetion
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed May 18, 2021
1 parent 7d6ad5c commit 19b8fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/api_integration/apis/search/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function ({ getService }: FtrProviderContext) {
it('should return 400 for a painless error', async () => {
const resp = await supertest.post(`/internal/search/es`).send(painlessErrReq).expect(400);

verifyErrorResponse(resp.body, 400, 'search_phase_execution_exception', true);
verifyErrorResponse(resp.body, 400, 'script_exception', true);
});
});

Expand Down

0 comments on commit 19b8fe0

Please sign in to comment.