diff --git a/x-pack/legacy/plugins/siem/server/lib/detection_engine/alerts/utils.test.ts b/x-pack/legacy/plugins/siem/server/lib/detection_engine/alerts/utils.test.ts index 453018a5efce398..b715b1f2edf54e5 100644 --- a/x-pack/legacy/plugins/siem/server/lib/detection_engine/alerts/utils.test.ts +++ b/x-pack/legacy/plugins/siem/server/lib/detection_engine/alerts/utils.test.ts @@ -286,18 +286,8 @@ describe('utils', () => { }); describe('searchAfterAndBulkIndex', () => { test('if successful with empty search results', async () => { - const searchAfterSortId = '1234567891111'; const sampleParams = sampleSignalAlertParams(undefined); const savedObjectsClient = savedObjectsClientMock.create(); - const expectedSearchAfterQuery = buildEventsSearchQuery({ - index: sampleParams.index, - from: sampleParams.from, - to: sampleParams.to, - filter: sampleParams.filter, - size: sampleParams.size ? sampleParams.size : 1, - searchAfterSortId, - maxDocs: undefined, - }); const mockService: AlertServices = { callCluster: jest.fn(), alertInstanceFactory: jest.fn(),