Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Jul 9, 2023
1 parent 356432c commit 4259f54
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export function defineActionTypes(
actions.registerType(getNoAttemptsRateLimitedActionType());
actions.registerType(getAuthorizationActionType(core));
actions.registerType(getExcludedActionType());
actions.registerType(getSystemActionType());

/**
* System actions
Expand Down Expand Up @@ -443,7 +442,7 @@ function getSystemActionTypeWithKibanaPrivileges() {
* Requires all access to the case feature
* in Stack management
*/
kibanaPrivileges: ['cases:cases/createCase'],
getKibanaPrivileges: () => ['cases:cases/createCase'],
validate: {
params: {
schema: schema.any(),
Expand Down

0 comments on commit 4259f54

Please sign in to comment.