Skip to content

Commit

Permalink
[Security Solution] Clean connectors before custom query rule test (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lgmys authored Dec 21, 2022
1 parent d632738 commit 2a02b23
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ import {
} from '../../tasks/alerts_detection_rules';
import { createCustomRuleEnabled } from '../../tasks/api_calls/rules';
import { createTimeline } from '../../tasks/api_calls/timelines';
import { cleanKibana, deleteAlertsAndRules } from '../../tasks/common';
import { cleanKibana, deleteAlertsAndRules, deleteConnectors } from '../../tasks/common';
import { addEmailConnectorAndRuleAction } from '../../tasks/common/rule_actions';
import {
continueWithNextSection,
Expand Down Expand Up @@ -356,6 +356,7 @@ describe('Custom query rules', () => {

before(() => {
deleteAlertsAndRules();
deleteConnectors();
createCustomRuleEnabled(getExistingRule(), 'rule1');
});
beforeEach(() => {
Expand Down

0 comments on commit 2a02b23

Please sign in to comment.