Skip to content

Commit

Permalink
fixing failing test and lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yctercero committed Dec 3, 2023
1 parent f652912 commit 3108390
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import { FtrProviderContext } from '../../../../ftr_provider_context';
export default ({ getService }: FtrProviderContext): void => {
const supertest = getService('supertest');
const log = getService('log');
const es = getService('es');
// TODO: add a new service
const config = getService('config');
const ELASTICSEARCH_USERNAME = config.get('servers.kibana.username');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default ({ getService }: FtrProviderContext) => {
.expect(400);

expect(body.message).to.eql(
'[request body]: investigation_fields: Expected object, received array, type: Invalid literal value, expected "eql", language: Invalid literal value, expected "eql", investigation_fields: Expected object, received array, investigation_fields: Expected object, received array, and 22 more'
'[request body]: investigation_fields: Expected object, received array'
);
});

Expand Down

0 comments on commit 3108390

Please sign in to comment.