Refine bookdrop results and related websocket events

This commit is contained in:
aditya.chandel
2025-08-16 10:18:33 -06:00
committed by Aditya Chandel
parent c75c4dce5b
commit a092d629c9
26 changed files with 288 additions and 120 deletions
@@ -40,7 +40,7 @@ class BookdropNotificationServiceTest {
bookdropNotificationService.sendBookdropFileSummaryNotification();
ArgumentCaptor<BookdropFileNotification> captor = ArgumentCaptor.forClass(BookdropFileNotification.class);
verify(notificationService).sendMessage(eq(Topic.BOOKDROP_FILE), captor.capture());
verify(notificationService).sendMessageToPermissions(eq(Topic.BOOKDROP_FILE), captor.capture(), anySet());
BookdropFileNotification sentNotification = captor.getValue();
@@ -56,6 +56,6 @@ class BookdropNotificationServiceTest {
bookdropNotificationService.sendBookdropFileSummaryNotification();
verify(notificationService).sendMessage(eq(Topic.BOOKDROP_FILE), any(BookdropFileNotification.class));
verify(notificationService).sendMessageToPermissions(eq(Topic.BOOKDROP_FILE), any(BookdropFileNotification.class), anySet());
}
}