Skip to content

Commit

Permalink
[MODAUD-174] - Fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
azizbekxm committed Nov 15, 2023
1 parent 9d66e94 commit f7e9581
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import org.folio.services.acquisition.PieceAuditEventsService;
import org.folio.spring.SpringContextUtil;
import org.folio.util.ErrorUtils;
import org.springframework.beans.factory.annotation.Autowired;

import javax.ws.rs.core.Response;
import java.util.Map;
Expand All @@ -28,16 +29,20 @@ public class AuditDataAcquisitionImpl implements AuditDataAcquisition {

private static final Logger LOGGER = LogManager.getLogger();

private final OrderAuditEventsService orderAuditEventsService;
private final OrderLineAuditEventsService orderLineAuditEventsService;
private final PieceAuditEventsService pieceAuditEventsService;
private OrderAuditEventsService orderAuditEventsService;
private OrderLineAuditEventsService orderLineAuditEventsService;
private PieceAuditEventsService pieceAuditEventsService;

@Autowired
public AuditDataAcquisitionImpl(OrderAuditEventsService orderAuditEventsService,
OrderLineAuditEventsService orderLineAuditEventsService,
PieceAuditEventsService pieceAuditEventsService) {
this.orderAuditEventsService = orderAuditEventsService;
this.orderLineAuditEventsService = orderLineAuditEventsService;
this.pieceAuditEventsService = pieceAuditEventsService;
}

public AuditDataAcquisitionImpl() {
SpringContextUtil.autowireDependencies(this, Vertx.currentContext());
}

Expand Down

0 comments on commit f7e9581

Please sign in to comment.