Remove license refresh from setup (#79518)

This commit is contained in:
Chris Roberson 2020-10-05 21:04:49 -04:00 committed by GitHub
parent be11098df7
commit 230a292d93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -21,9 +21,7 @@ jest.mock('./es_client/instantiate_client', () => ({
jest.mock('./license_service', () => ({
LicenseService: jest.fn().mockImplementation(() => ({
setup: jest.fn().mockImplementation(() => ({
refresh: jest.fn(),
})),
setup: jest.fn().mockImplementation(() => ({})),
})),
}));

View file

@ -119,7 +119,6 @@ export class Plugin {
config,
log: this.log,
});
await this.licenseService.refresh();
const serverInfo = core.http.getServerInfo();
let kibanaUrl = `${serverInfo.protocol}://${serverInfo.hostname}:${serverInfo.port}`;