-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CIRC-2198 Implement the code for the feature UXPROD-5001 #1521
Conversation
…logic to store flag into database
src/main/java/org/folio/circulation/resources/RequestNoticeSender.java
Outdated
Show resolved
Hide resolved
@@ -427,6 +428,10 @@ public boolean hasLoan() { | |||
return loan != null; | |||
} | |||
|
|||
public boolean getDcbReRequestCancellationValue() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public boolean getDcbReRequestCancellationValue() { | |
public boolean isDcbReRequestCancellation() { |
sendCancellationNoticeForRequestWithItemId(request); | ||
} else { | ||
sendCancellationNoticeForRequestWithoutItemId(request); | ||
// Send the cancellation notice only if the isDcbReRequestCancellation flag is false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need this comment? I think code below speaks for itself
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Mockito.verify(immediatePatronNoticeService, times(0)).acceptNoticeEvent(any()); | ||
Mockito.verify(immediatePatronNoticeService, times(0)).sendNotice(any(), any()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mockito.verify(immediatePatronNoticeService, times(0)).acceptNoticeEvent(any()); | |
Mockito.verify(immediatePatronNoticeService, times(0)).sendNotice(any(), any()); | |
Mockito.verify(immediatePatronNoticeService, times(0)).acceptNoticeEvent(any()); | |
Mockito.verify(immediatePatronNoticeService, times(0)).sendNotice(any(), any()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Quality Gate passedIssues Measures |
Purpose
Implement the code for the feature UXPROD-5001
Jira
CIRC-2198