diff --git a/packages/kbn-securitysolution-grouping/src/containers/query/index.test.ts b/packages/kbn-securitysolution-grouping/src/containers/query/index.test.ts index 2502dbf8854fc..c3ab014119db7 100644 --- a/packages/kbn-securitysolution-grouping/src/containers/query/index.test.ts +++ b/packages/kbn-securitysolution-grouping/src/containers/query/index.test.ts @@ -8,6 +8,7 @@ import type { GroupingQueryArgs } from './types'; import { getGroupingQuery, parseGroupingQuery } from '.'; +import { getEmptyValue } from './helpers'; const testProps: GroupingQueryArgs = { additionalFilters: [], @@ -185,8 +186,8 @@ describe('group selector', () => { doc_count: 75, }, { - key: ['-'], - key_as_string: '-', + key: [getEmptyValue()], + key_as_string: getEmptyValue(), isNullGroup: true, doc_count: 75, },