From 5c5d53e5dcfe4fc6c594665494fc359e293cea3f Mon Sep 17 00:00:00 2001 From: SuZhoue-Joe Date: Sun, 25 Jun 2023 15:08:44 +0800 Subject: [PATCH] feat: remove useless test code Signed-off-by: SuZhoue-Joe --- src/core/public/saved_objects/saved_objects_client.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/public/saved_objects/saved_objects_client.test.ts b/src/core/public/saved_objects/saved_objects_client.test.ts index 15865fcf1f73..19b140ad3a12 100644 --- a/src/core/public/saved_objects/saved_objects_client.test.ts +++ b/src/core/public/saved_objects/saved_objects_client.test.ts @@ -31,7 +31,6 @@ import { SavedObjectsClient } from './saved_objects_client'; import { SimpleSavedObject } from './simple_saved_object'; import { httpServiceMock } from '../http/http_service.mock'; -import { workspacesServiceMock } from '../fatal_errors/fatal_errors_service.mock'; describe('SavedObjectsClient', () => { const updatedAt = new Date().toISOString(); @@ -44,11 +43,10 @@ describe('SavedObjectsClient', () => { }; const http = httpServiceMock.createStartContract(); - const workspaces = workspacesServiceMock.createStartContract(); let savedObjectsClient: SavedObjectsClient; beforeEach(() => { - savedObjectsClient = new SavedObjectsClient(http, workspaces); + savedObjectsClient = new SavedObjectsClient(http); http.fetch.mockClear(); });