webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailReducer.test.js in katello-3.7.0.rc2 vs webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailReducer.test.js in katello-3.7.0

- old
+ new

@@ -28,10 +28,12 @@ it('load error on SUBSCRIPTION_DETAILS_FAILURE', () => { const error = 'nothing worked'; expect(reducer(initialState, { type: types.SUBSCRIPTION_DETAILS_FAILURE, - error, + payload: { + message: error, + }, })).toEqual({ ...initialState, error, }); });