Skip to content

Commit

Permalink
Tests: Use a local HTTP server to mock Maven Search API.
Browse files Browse the repository at this point in the history
  • Loading branch information
smarkwal committed Sep 26, 2024
1 parent 8785f29 commit 619c97f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jarhc/src/integrationTest/java/org/jarhc/it/MainTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,18 @@
import java.nio.file.Path;
import org.jarhc.Main;
import org.jarhc.TestUtils;
import org.jarhc.it.utils.MavenSearchApiMockServer;
import org.jarhc.test.SystemExitException;
import org.jarhc.test.SystemExitManager;
import org.jarhc.test.TextUtils;
import org.jarhc.utils.FileUtils;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.api.io.TempDir;

@ExtendWith(MavenSearchApiMockServer.class)
class MainTest {

private SecurityManager originalSecurityManager;
Expand Down

0 comments on commit 619c97f

Please sign in to comment.