Skip to content

Commit

Permalink
chore: rebase with master and resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
mkholjuraev committed Mar 4, 2024
1 parent 0945f2a commit e74861f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2,138 deletions.
4 changes: 1 addition & 3 deletions src/SmartComponents/Modals/UnassignSystemsModal.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { addNotification } from '@redhat-cloud-services/frontend-components-notifications/redux';
import UnassignSystemsModal from './UnassignSystemsModal';
import { unassignSystemFromPatchSet, fetchSystems } from '../../Utilities/api';
import { unassignSystemFromPatchSet } from '../../Utilities/api';
import { initMocks } from '../../Utilities/unitTestingUtilities';
import { patchSetUnassignSystemsNotifications } from '../PatchSet/PatchSetAssets';
import { render, waitFor, screen } from '@testing-library/react';
Expand All @@ -23,8 +23,6 @@ jest.mock('@redhat-cloud-services/frontend-components-notifications/redux', () =
addNotification: jest.fn(() => {})
}));

fetchSystems.mockResolvedValue({ data: [{ id: 'test_1' }] });

let unassignSystemsModalState = {
isUnassignSystemsModalOpen: true,
systemsIDs: ['test_1', 'test_2', 'test_3']
Expand Down
Loading

0 comments on commit e74861f

Please sign in to comment.