Skip to content

Commit

Permalink
revert security deps changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mgadewoll committed Nov 5, 2024
1 parent 349c245 commit accdd69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import type { FC, PropsWithChildren } from 'react';
import React from 'react';

import { coreMock, scopedHistoryMock } from '@kbn/core/public/mocks';
import { DEFAULT_THEME_VERSION } from '@kbn/core-ui-settings-common';

import { UserProfile, useUserProfileForm } from './user_profile';
import { UserProfileAPIClient } from '..';
Expand Down Expand Up @@ -319,7 +318,7 @@ describe('useUserProfileForm', () => {
const data: UserProfileData = {};

const nonCloudUser = mockAuthenticatedUser({ elastic_cloud_user: false });
coreStart.theme.getTheme.mockReturnValue({ darkMode: true, version: DEFAULT_THEME_VERSION });
coreStart.theme.getTheme.mockReturnValue({ darkMode: true, version: 'v8' });
coreStart.settings.client.isOverridden.mockReturnValue(true);

const testWrapper = mount(
Expand Down
3 changes: 1 addition & 2 deletions x-pack/plugins/security/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@
"@kbn/security-role-management-model",
"@kbn/security-ui-components",
"@kbn/core-http-router-server-mocks",
"@kbn/security-authorization-core-common",
"@kbn/core-ui-settings-common",
"@kbn/security-authorization-core-common"
],
"exclude": [
"target/**/*",
Expand Down

0 comments on commit accdd69

Please sign in to comment.