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;