webpack/scenes/Subscriptions/__tests__/SubscriptionsSelectors.test.js in katello-3.15.0.rc1.1 vs webpack/scenes/Subscriptions/__tests__/SubscriptionsSelectors.test.js in katello-3.15.0.rc1.2
- old
+ new
@@ -1,21 +1,19 @@
import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils';
import {
selectSubscriptionsState,
selectSearchQuery,
- selectManifestModalOpened,
selectDeleteModalOpened,
selectDeleteButtonDisabled,
selectSubscriptionsTasks,
selectTaskModalOpened,
} from '../SubscriptionsSelectors';
const state = {
katello: {
subscriptions: {
searchQuery: 'some-query',
- manifestModalOpened: false,
deleteModalOpened: false,
taskModalOpened: false,
deleteButtonDisabled: true,
tasks: ['task1', 'task2'],
},
@@ -23,10 +21,9 @@
};
const fixtures = {
'should select the subscriptions state': () => selectSubscriptionsState(state),
'should select search-query': () => selectSearchQuery(state),
- 'should select manifest-modal-opened': () => selectManifestModalOpened(state),
'should select delete-modal-opened': () => selectDeleteModalOpened(state),
'should select task-modal-opened': () => selectTaskModalOpened(state),
'should select delete-button-disabled': () => selectDeleteButtonDisabled(state),
'should select subscriptions tasks': () => selectSubscriptionsTasks(state),
};