Skip to content

Commit

Permalink
[MODORDERS-1017] - Refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzmitry_Butramyou committed Feb 15, 2024
1 parent 8baf285 commit beb0253
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ private static JsonObject buildItemContext(FeeFineNoticeContext ctx) {
.put("enumeration", item.getEnumeration())
.put("volume", item.getVolume())
.put("chronology", item.getChronology())
.put("displaySummary", item.getDisplaySummary())
.put("yearCaption", String.join(LIST_VALUES_SEPARATOR, item.getYearCaption()))
.put("copy", getCopyNumber(item, holdingsRecord))
.put("numberOfPieces", item.getNumberOfPieces())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ public void postActionWithPatronNotice() {
.put("enumeration", item.getEnumeration())
.put("volume", item.getVolume())
.put("chronology", item.getChronology())
.put("displaySummary", item.getDisplaySummary())
.put("yearCaption", "2000")
.put("copy", item.getCopyNumber())
.put("numberOfPieces", item.getNumberOfPieces())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ public void createContextWithAllAvailableFields() {
assertEquals(item.getEnumeration(), itemContext.getString("enumeration"));
assertEquals(item.getVolume(), itemContext.getString("volume"));
assertEquals(item.getChronology(), itemContext.getString("chronology"));
assertEquals(item.getDisplaySummary(), itemContext.getString("displaySummary"));
assertEquals("2001; 2000", itemContext.getString("yearCaption"));
assertEquals(item.getCopyNumber(), itemContext.getString("copy"));
assertEquals(item.getNumberOfPieces(), itemContext.getString("numberOfPieces"));
Expand Down

0 comments on commit beb0253

Please sign in to comment.