Skip to content

Commit

Permalink
MODTLR-64 fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-barannyk committed Nov 18, 2024
1 parent 2149b92 commit db35861
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/test/java/org/folio/api/EcsTlrApiTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,8 @@ private static User buildPrimaryRequestRequester(String userId) {
.personal(new UserPersonal()
.firstName("First")
.middleName("Middle")
.lastName("Last"));
.lastName("Last"))
.customFields(null);
}

private static User buildSecondaryRequestRequester(User primaryRequestRequester,
Expand All @@ -539,7 +540,8 @@ private static User buildSecondaryRequestRequester(User primaryRequestRequester,
.patronGroup(secondaryRequestRequesterExists ? PATRON_GROUP_ID_SECONDARY : PATRON_GROUP_ID_PRIMARY)
.type(UserType.SHADOW.getValue())
.barcode(primaryRequestRequester.getBarcode())
.active(true);
.active(true)
.customFields(null);
}

private static ServicePoint buildPrimaryRequestPickupServicePoint(String id) {
Expand Down

0 comments on commit db35861

Please sign in to comment.