From 772a58205a06946696f56af169c3a5345ded9254 Mon Sep 17 00:00:00 2001 From: yujin-emma Date: Tue, 6 Feb 2024 04:49:21 +0000 Subject: [PATCH] fix test Signed-off-by: yujin-emma --- .../import/check_conflict_for_data_source.test.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/core/server/saved_objects/import/check_conflict_for_data_source.test.ts b/src/core/server/saved_objects/import/check_conflict_for_data_source.test.ts index 6c62ec9861bb..4bf3a8110454 100644 --- a/src/core/server/saved_objects/import/check_conflict_for_data_source.test.ts +++ b/src/core/server/saved_objects/import/check_conflict_for_data_source.test.ts @@ -43,12 +43,7 @@ const getResultMock = { /** * Create a variety of different objects to exercise different import / result scenarios */ -const obj1 = createObject('type-1', 'id-1'); // -> success -const obj2 = createObject('type-2', 'id-2'); // -> conflict -const obj3 = createObject('type-3', 'id-3'); // -> unresolvable conflict -const obj4 = createObject('type-4', 'id-4'); // -> invalid type const dataSourceObj = createObject('data-source', 'data-source-id-1'); // -> data-source type, no need to add in the filteredObjects -const objects = [obj1, obj2, obj3, obj4]; const dataSourceObj1 = createObject('type-1', 'ds_id-1'); // -> object with data source id const dataSourceObj2 = createObject('type-2', 'ds_id-2'); // -> object with data source id const objectsWithDataSource = [dataSourceObj, dataSourceObj1, dataSourceObj2];