From 4d25ee45876ee15640cf41b37d36d4eda7b6ca7f Mon Sep 17 00:00:00 2001 From: restrry Date: Mon, 9 Dec 2019 14:59:52 +0100 Subject: [PATCH] update mocks --- x-pack/plugins/licensing/common/license.mock.ts | 1 + x-pack/plugins/licensing/server/license.mock.ts | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 x-pack/plugins/licensing/server/license.mock.ts diff --git a/x-pack/plugins/licensing/common/license.mock.ts b/x-pack/plugins/licensing/common/license.mock.ts index f04ebeec81bdf..52721703fcb73 100644 --- a/x-pack/plugins/licensing/common/license.mock.ts +++ b/x-pack/plugins/licensing/common/license.mock.ts @@ -19,6 +19,7 @@ function createLicense({ uid: 'uid-000000001234', status: 'active', type: 'basic', + mode: 'basic', expiryDateInMillis: 5000, }; diff --git a/x-pack/plugins/licensing/server/license.mock.ts b/x-pack/plugins/licensing/server/license.mock.ts new file mode 100644 index 0000000000000..13cad05c6e0b0 --- /dev/null +++ b/x-pack/plugins/licensing/server/license.mock.ts @@ -0,0 +1,7 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License; + * you may not use this file except in compliance with the Elastic License. + */ + +export { licenseMock } from '../common/license.mock';