diff --git a/web-admin-app/src/test/java/edu/unc/lib/boxc/web/admin/controllers/processing/ChompbPreIngestServiceTest.java b/web-admin-app/src/test/java/edu/unc/lib/boxc/web/admin/controllers/processing/ChompbPreIngestServiceTest.java index 1a7cdb3da2..a1ff34ad30 100644 --- a/web-admin-app/src/test/java/edu/unc/lib/boxc/web/admin/controllers/processing/ChompbPreIngestServiceTest.java +++ b/web-admin-app/src/test/java/edu/unc/lib/boxc/web/admin/controllers/processing/ChompbPreIngestServiceTest.java @@ -21,7 +21,6 @@ import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; -import java.util.List; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; @@ -174,13 +173,6 @@ public void startCroppingSuccessTest() throws InterruptedException { service.startCropping(agentPrincipals, PROJ_NAME, "user@email.com"); // Verify a single ProcessBuilder instance was created assertEquals(1,mocked.constructed().size()); - var constructed = mocked.constructed(); - // Retrieve the constructed ProcessBuilder instance - ProcessBuilder processBuilder = mocked.constructed().get(0); - // Verify the ProcessBuilder was created with the correct parameters - List expectedArgs = List.of("chompb", "process source_files", "--action", "velocicroptor"); - assertEquals(expectedArgs, processBuilder.command()); - } }