Skip to content

Commit

Permalink
Revert "(will be reverted) explicitly await for license to be ready i…
Browse files Browse the repository at this point in the history
…n the auth hook"

This reverts commit fdf73fe
  • Loading branch information
pgayvallet committed Jan 29, 2021
1 parent c5f2fe5 commit 59740e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion x-pack/plugins/security/common/licensing/index.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { SecurityLicense, SecurityLicenseFeatures } from '.';

export const licenseMock = {
create: (features?: Partial<SecurityLicenseFeatures>): jest.Mocked<SecurityLicense> => ({
license$: {} as any,
isLicenseAvailable: jest.fn().mockReturnValue(true),
isEnabled: jest.fn().mockReturnValue(true),
getType: jest.fn().mockReturnValue('basic'),
Expand Down

0 comments on commit 59740e4

Please sign in to comment.