Add xpack_main as a dependency in a few tests (#55602)
This commit is contained in:
parent
179dba2deb
commit
2e6f821d3f
|
@ -36,7 +36,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
|
||||
|
|
|
@ -11,7 +11,7 @@ import { ActionTypeExecutorOptions, ActionType } from '../../../../../../plugins
|
|||
// 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({
|
||||
|
|
Loading…
Reference in a new issue