diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_creation/components/esql_query_edit/validators/esql_query_validator_factory.test.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_creation/components/esql_query_edit/validators/esql_query_validator_factory.test.ts index 7624c99b181b1..2799a606d3d9b 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_creation/components/esql_query_edit/validators/esql_query_validator_factory.test.ts +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_creation/components/esql_query_edit/validators/esql_query_validator_factory.test.ts @@ -143,7 +143,7 @@ describe('esqlQueryValidator', () => { }); describe('when getESQLQueryColumns fails', () => { - it('returns an empty array', () => { + it('returns a validation error', () => { // suppress the expected error messages jest.spyOn(console, 'error').mockReturnValue();