From 3eafc04c5c2f1b932584263cf121908dd915183e Mon Sep 17 00:00:00 2001 From: yujin-emma Date: Mon, 12 Feb 2024 20:44:37 +0000 Subject: [PATCH] clean unused parameters in test Signed-off-by: yujin-emma --- .../server/saved_objects/import/import_saved_objects.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/server/saved_objects/import/import_saved_objects.test.ts b/src/core/server/saved_objects/import/import_saved_objects.test.ts index 49db18159183..dea656c7e2f5 100644 --- a/src/core/server/saved_objects/import/import_saved_objects.test.ts +++ b/src/core/server/saved_objects/import/import_saved_objects.test.ts @@ -437,7 +437,7 @@ describe('#importSavedObjectsFromStream', () => { }; test('with createNewCopies disabled', async () => { - const options = setupOptions(false, undefined); + const options = setupOptions(); getMockFn(checkConflicts).mockResolvedValue({ errors: [], filteredObjects: [], @@ -557,7 +557,7 @@ describe('#importSavedObjectsFromStream', () => { }); test('accumulates multiple errors', async () => { - const options = setupOptions(false, undefined); + const options = setupOptions(); const errors = [createError(), createError(), createError(), createError(), createError()]; getMockFn(collectSavedObjects).mockResolvedValue({ errors: [errors[0]],