diff --git a/app/core/src/test/java/stirling/software/SPDF/controller/api/MergeControllerTest.java b/app/core/src/test/java/stirling/software/SPDF/controller/api/MergeControllerTest.java index 5d043b8e7..48048d6ec 100644 --- a/app/core/src/test/java/stirling/software/SPDF/controller/api/MergeControllerTest.java +++ b/app/core/src/test/java/stirling/software/SPDF/controller/api/MergeControllerTest.java @@ -283,7 +283,7 @@ class MergeControllerTest { @DisplayName("Returns empty document when input list is empty") void testMergeDocuments_EmptyList_ReturnsEmptyDocument() throws IOException { // Arrange - List documents = List.of(); + List documents = Collections.emptyList(); when(pdfDocumentFactory.createNewDocument()).thenReturn(mockMergedDocument);