Add tests to Inventory module
[aai/sparky-fe.git] / src / app / inventory / InventoryReducer.js
index c42fc97..6ae3a5f 100644 (file)
@@ -28,21 +28,18 @@ export default(state = {}, action) => {
         ...state,
         mapPlotPoints: action.data.plotPoints
       };
-      break;
     
     case InventoryActionTypes.COUNT_BY_ENTITY_SUCCESS:
       return {
         ...state,
         countByType: action.data.countByType
       };
-      break;
     
     case InventoryActionTypes.COUNT_BY_DATE_SUCCESS:
       return {
         ...state,
         countByDate: action.data.countByDate
       };
-      break;
     
     case InventoryActionTypes.TOPOGRAPHIC_QUERY_FAILED:
     case InventoryActionTypes.COUNT_BY_ENTITY_FAILED:
@@ -52,7 +49,6 @@ export default(state = {}, action) => {
         feedbackMsgSeverity: action.data.severity,
         feedbackMsgText: action.data.message
       };
-      break;
     
     default:
       break;

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use