Skip to content

Commit

Permalink
Add xpack_main as a dependency in a few tests (#55602)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecote committed Jan 22, 2020
1 parent 5724127 commit bec322b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function getAllExternalServiceSimulatorPaths(): string[] {
// eslint-disable-next-line import/no-default-export
export default function(kibana: any) {
return new kibana.Plugin({
require: ['actions'],
require: ['xpack_main', 'actions'],
name: NAME,
init: (server: Hapi.Server) => {
// this action is specifically NOT enabled in ../../config.ts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { ActionTypeExecutorOptions, ActionType } from '../../../../../../legacy/
// eslint-disable-next-line import/no-default-export
export default function(kibana: any) {
return new kibana.Plugin({
require: ['actions', 'alerting', 'elasticsearch'],
require: ['xpack_main', 'actions', 'alerting', 'elasticsearch'],
name: 'alerts',
init(server: any) {
server.plugins.xpack_main.registerFeature({
Expand Down

0 comments on commit bec322b

Please sign in to comment.