From 1203ca4467e72a58882974dae509ac7e4acac388 Mon Sep 17 00:00:00 2001 From: Timothy Sullivan Date: Thu, 14 Oct 2021 07:45:46 -0700 Subject: [PATCH] fix test --- x-pack/plugins/reporting/server/config/index.test.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/x-pack/plugins/reporting/server/config/index.test.ts b/x-pack/plugins/reporting/server/config/index.test.ts index 1a75f6dfec3bd..9e6c8f35308f9 100644 --- a/x-pack/plugins/reporting/server/config/index.test.ts +++ b/x-pack/plugins/reporting/server/config/index.test.ts @@ -36,15 +36,6 @@ const applyReportingDeprecations = (settings: Record = {}) => { }; describe('deprecations', () => { - ['.foo', '.reporting'].forEach((index) => { - it('logs a warning if index is set', () => { - const { messages } = applyReportingDeprecations({ index, roles: { enabled: false } }); - expect(messages).toMatchObject([ - 'Multitenancy by changing "xpack.reporting.index" will not be supported in 8.0. See https://ela.st/kbn-remove-legacy-multitenancy for more details', - ]); - }); - }); - it('logs a warning if roles.enabled: true is set', () => { const { messages } = applyReportingDeprecations({ roles: { enabled: true } }); expect(messages).toMatchInlineSnapshot(`