webpack/scenes/Subscriptions/__tests__/SubscriptionHelpers.test.js in katello-3.16.2 vs webpack/scenes/Subscriptions/__tests__/SubscriptionHelpers.test.js in katello-3.17.0.rc1
- old
+ new
@@ -2,11 +2,10 @@
quantitiesRequestSuccessResponse,
loadQuantitiesSuccessActionPayload,
} from './subscriptions.fixtures';
import {
filterRHSubscriptions,
- manifestExists,
selectSubscriptionsQuantitiesFromResponse,
} from '../SubscriptionHelpers';
describe('Subscription helper', () => {
it('should filter subscriptions without upstream_pool_id', () => {
@@ -61,19 +60,9 @@
];
const filteredSubscriptions = filterRHSubscriptions(subscriptions);
expect(filteredSubscriptions).toMatchSnapshot();
- });
-
- it('should check if manifest exists in an organization', () => {
- const upstreamConsumer = 'some-upstream-consumer';
-
- expect(manifestExists({
- owner_details: { upstreamConsumer },
- })).toBe(upstreamConsumer);
-
- expect(manifestExists({})).toBeFalsy();
});
it('should select subscriptions-quantities from api response', () => {
const quantities =
selectSubscriptionsQuantitiesFromResponse(quantitiesRequestSuccessResponse);