diff --git a/jarhc/src/integrationTest/java/org/jarhc/it/MainTest.java b/jarhc/src/integrationTest/java/org/jarhc/it/MainTest.java index ecfe6ecb..7b6c3935 100644 --- a/jarhc/src/integrationTest/java/org/jarhc/it/MainTest.java +++ b/jarhc/src/integrationTest/java/org/jarhc/it/MainTest.java @@ -29,6 +29,7 @@ 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; @@ -36,8 +37,10 @@ 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;