Skip to content

Commit

Permalink
fixing delete index pattern function
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Sep 30, 2022
1 parent d669283 commit 5839fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/test/functional/services/ml/test_resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ export function MachineLearningTestResourcesProvider(
},

async deleteIndexPatternById(id: string, space?: string) {
await this.deleteSavedObjectById(id, SavedObjectType.INDEX_PATTERN);
await this.deleteSavedObjectById(id, SavedObjectType.INDEX_PATTERN, false, space);
},

async deleteSavedSearchByTitle(title: string) {
Expand Down

0 comments on commit 5839fab

Please sign in to comment.