Skip to content

Commit

Permalink
BXC-4691 remove erroring code
Browse files Browse the repository at this point in the history
  • Loading branch information
sharonluong committed Dec 3, 2024
1 parent a3cd0a9 commit de64a0e
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<String> expectedArgs = List.of("chompb", "process source_files", "--action", "velocicroptor");
assertEquals(expectedArgs, processBuilder.command());

}
}

Expand Down

0 comments on commit de64a0e

Please sign in to comment.