Update app/core/src/test/java/stirling/software/SPDF/controller/api/MergeControllerTest.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Balázs Szücs 2025-07-28 20:32:34 +02:00 committed by GitHub
parent 7a182f9315
commit bdf9a5cfee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -283,7 +283,7 @@ class MergeControllerTest {
@DisplayName("Returns empty document when input list is empty")
void testMergeDocuments_EmptyList_ReturnsEmptyDocument() throws IOException {
// Arrange
List<PDDocument> documents = List.of();
List<PDDocument> documents = Collections.emptyList();
when(pdfDocumentFactory.createNewDocument()).thenReturn(mockMergedDocument);