Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Oct 14, 2021
1 parent fa81295 commit 1203ca4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions x-pack/plugins/reporting/server/config/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ const applyReportingDeprecations = (settings: Record<string, any> = {}) => {
};

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(`
Expand Down

0 comments on commit 1203ca4

Please sign in to comment.