Skip to content

Commit

Permalink
Update delete_alerts_migrations.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliidm authored Dec 9, 2024
1 parent bfd7b43 commit 6fc9e7f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
DETECTION_ENGINE_SIGNALS_MIGRATION_URL,
} from '@kbn/security-solution-plugin/common/constants';
import { ROLES } from '@kbn/security-solution-plugin/common/test';
import { deleteMigrationsIfExists, getIndexNameFromLoad } from '../../../../../utils';
import { deleteMigrationsIfExistent, getIndexNameFromLoad } from '../../../../../utils';
import {
createAlertsIndex,
deleteAllAlerts,
Expand Down Expand Up @@ -84,7 +84,7 @@ export default ({ getService }: FtrProviderContext): void => {

afterEach(async () => {
await esArchiver.unload('x-pack/test/functional/es_archives/signals/outdated_signals_index');
await deleteMigrationsIfExists({
await deleteMigrationsIfExistent({
kbnClient,
ids: [createdMigration.migration_id],
});
Expand Down

0 comments on commit 6fc9e7f

Please sign in to comment.