Skip to content

Commit

Permalink
simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Mar 2, 2021
1 parent b3ecb97 commit a8a4a59
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions x-pack/plugins/reporting/server/config/create_config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,6 @@ describe('Reporting server createConfig$', () => {
"protocol": "http",
}
`);
expect((mockLogger.warn as any).mock.calls.length).toBe(1);
expect((mockLogger.warn as any).mock.calls[0]).toMatchObject([
`Found 'server.host: \"0\"' in Kibana configuration. This is incompatible with Reporting. To enable Reporting to work, 'xpack.reporting.kibanaServer.hostname: 0.0.0.0' is being automatically ` +
`to the configuration. You can change the setting to 'server.host: 0.0.0.0' or add 'xpack.reporting.kibanaServer.hostname: 0.0.0.0' in kibana.yml to prevent this message.`,
]);
});

it('uses user-provided disableSandbox: false', async () => {
Expand Down

0 comments on commit a8a4a59

Please sign in to comment.