diff --git a/x-pack/plugins/reporting/server/export_types/common/omit_banned_headers.test.ts b/x-pack/plugins/reporting/server/export_types/common/omit_banned_headers.test.ts index a83ea5df2ad2f..f1f7dbb6bb043 100644 --- a/x-pack/plugins/reporting/server/export_types/common/omit_banned_headers.test.ts +++ b/x-pack/plugins/reporting/server/export_types/common/omit_banned_headers.test.ts @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { omitBlacklistedHeaders } from './index'; +import { omitBannedHeaders } from './index'; test(`omits banned headers`, async () => { const permittedHeaders = { @@ -24,7 +24,7 @@ test(`omits banned headers`, async () => { trailer: 's are for trucks', }; - const filteredHeaders = await omitBlacklistedHeaders({ + const filteredHeaders = await omitBannedHeaders({ job: { title: 'cool-job-bro', type: 'csv',