Skip to content

Commit

Permalink
CIRC-1981 Added Unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
MagzhanArtykov committed Dec 12, 2023
1 parent 5acfe5a commit 0be1561
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static JsonObject createCheckInContext(CheckInContext context) {

if (ObjectUtils.allNotNull(item, itemContext)) {
write(itemContext, "lastCheckedInDateTime", ClockUtil.getZonedDateTime());
if (item != null && item.getInTransitDestinationServicePoint() != null) {
if (item.getInTransitDestinationServicePoint() != null) {
itemContext.put("toServicePoint", item.getInTransitDestinationServicePoint().getName());
}
if (context.getCheckInServicePoint() != null) {
Expand Down

0 comments on commit 0be1561

Please sign in to comment.