mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
adjust assetion
This commit is contained in:
parent
7d6ad5cf25
commit
19b8fe0464
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue