Skip to content

Commit 9c0bb0f

Browse files
authored
Add xpack_main as a dependency in a few tests (#55602) (#55847)
1 parent 2e229c6 commit 9c0bb0f

File tree

2 files changed

+2
-2
lines changed
  • x-pack/test/alerting_api_integration/common/fixtures/plugins

2 files changed

+2
-2
lines changed

x-pack/test/alerting_api_integration/common/fixtures/plugins/actions/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function getAllExternalServiceSimulatorPaths(): string[] {
3131
// eslint-disable-next-line import/no-default-export
3232
export default function(kibana: any) {
3333
return new kibana.Plugin({
34-
require: ['actions'],
34+
require: ['xpack_main', 'actions'],
3535
name: NAME,
3636
init: (server: Hapi.Server) => {
3737
// this action is specifically NOT enabled in ../../config.ts

x-pack/test/alerting_api_integration/common/fixtures/plugins/alerts/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { ActionTypeExecutorOptions, ActionType } from '../../../../../../legacy/
1111
// eslint-disable-next-line import/no-default-export
1212
export default function(kibana: any) {
1313
return new kibana.Plugin({
14-
require: ['actions', 'alerting', 'elasticsearch'],
14+
require: ['xpack_main', 'actions', 'alerting', 'elasticsearch'],
1515
name: 'alerts',
1616
init(server: any) {
1717
server.plugins.xpack_main.registerFeature({

0 commit comments

Comments
 (0)