Remove license refresh from setup (#79518)
This commit is contained in:
parent
be11098df7
commit
230a292d93
|
@ -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(() => ({})),
|
||||
})),
|
||||
}));
|
||||
|
||||
|
|
|
@ -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}`;
|
||||
|
|
Loading…
Reference in a new issue