diff --git a/changelogs/fragments/7954.yml b/changelogs/fragments/7954.yml new file mode 100644 index 000000000000..2f353d46242f --- /dev/null +++ b/changelogs/fragments/7954.yml @@ -0,0 +1,2 @@ +fix: +- [Workspace]dynamicConfigServiceMock not found in workspace routes UT ([#7954](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7954)) \ No newline at end of file diff --git a/src/plugins/workspace/server/routes/index.test.ts b/src/plugins/workspace/server/routes/index.test.ts index e67644c0159a..2028583703df 100644 --- a/src/plugins/workspace/server/routes/index.test.ts +++ b/src/plugins/workspace/server/routes/index.test.ts @@ -7,9 +7,7 @@ import supertest from 'supertest'; import { UnwrapPromise } from '@osd/utility-types'; import { setupServer } from '../../../../core/server/test_utils'; -import { loggingSystemMock } from '../../../../core/server/mocks'; -// eslint-disable-next-line @osd/eslint/no-restricted-paths -import { dynamicConfigServiceMock } from '../../../../core/server/config'; +import { loggingSystemMock, dynamicConfigServiceMock } from '../../../../core/server/mocks'; import { workspaceClientMock } from '../workspace_client.mock';