Skip to content

Commit

Permalink
UXPROD-5001 sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonAntonich committed Dec 16, 2024
1 parent 93478ab commit 5d4a533
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class RequestNoticeSenderTest {
void shouldNotSendNotificationWhenIsDcbCancellationTrue() {
JsonObject representation = new RequestBuilder().create();
representation.put("isDcbReRequestCancellation", true);
// try to send notification
requestNoticeSender.sendNoticeOnRequestCancelled(
new RequestAndRelatedRecords(Request.from(representation)));
Mockito.verify(immediatePatronNoticeService, times(0)).acceptNoticeEvent(any());
Expand Down

0 comments on commit 5d4a533

Please sign in to comment.