Skip to content

Commit

Permalink
Fixed test from strings changed
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankHassanabad committed Sep 24, 2021
1 parent 14e9394 commit 9dbaae6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe('legacyRules_notification_alert_type', () => {
});
await alert.executor(payload);
expect(logger.error).toHaveBeenCalledWith(
`Saved object for alert ${payload.params.ruleAlertId} was not found`
`Security Solution notification (Legacy) saved object for alert ${payload.params.ruleAlertId} was not found`
);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const legacyRulesNotificationAlertType = ({

if (!ruleAlertSavedObject.attributes.params) {
logger.error(
`Security Solution notification (Legacy) Saved object for alert ${params.ruleAlertId} was not found`
`Security Solution notification (Legacy) saved object for alert ${params.ruleAlertId} was not found`
);
return;
}
Expand Down

0 comments on commit 9dbaae6

Please sign in to comment.