Skip to content

Commit

Permalink
[SIEM] Fix types in rules tests (elastic#60736)
Browse files Browse the repository at this point in the history
* [SIEM] Fix types in rules tests

* Update create_rules.test.ts

* Update create_rules.test.ts
  • Loading branch information
patrykkopycinski authored Mar 20, 2020
1 parent 4c19cad commit 87e07ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ describe('createRules', () => {
await createRules({
alertsClient,
actionsClient,
actions: [],
...params,
ruleId: 'new-rule-id',
enabled: true,
interval: '',
throttle: null,
name: '',
tags: [],
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ describe('updateRules', () => {
await updateRules({
alertsClient,
actionsClient,
actions: [],
savedObjectsClient,
id: '04128c15-0d1b-4716-a4c5-46997ac7f3bd',
...params,
enabled: true,
throttle: null,
interval: '',
name: '',
tags: [],
Expand Down

0 comments on commit 87e07ef

Please sign in to comment.