@@ -138,13 +138,13 @@ class ImageProcessingServiceTest {
|
||||
200.0, "EUR", "https://example.com", null, false)
|
||||
));
|
||||
|
||||
when(mockDb.getImagesForLot(anyInt())).thenReturn(List.of());
|
||||
when(mockDb.getImagesForLot(anyLong())).thenReturn(List.of());
|
||||
|
||||
service.processPendingImages();
|
||||
|
||||
// Verify lots were queried
|
||||
verify(mockDb, times(1)).getAllLots();
|
||||
verify(mockDb, times(2)).getImagesForLot(anyInt());
|
||||
verify(mockDb, times(2)).getImagesForLot(anyLong());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user