File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/io/jenkins/plugins/eddsa_api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 55import static org .junit .Assert .assertThrows ;
66import static org .junit .Assert .fail ;
77
8+ import java .io .IOException ;
89import jenkins .model .Jenkins ;
910import org .junit .Rule ;
1011import org .junit .Test ;
1112import org .jvnet .hudson .test .RealJenkinsRule ;
12- import org .jvnet .hudson .test .RealJenkinsRule .JenkinsStartupException ;
1313
1414public class FIPSComplianceCheckTest {
1515
@@ -27,7 +27,7 @@ public void testStartupNonFips() throws Throwable {
2727 @ Test
2828 public void testStartupFips () throws Throwable {
2929 rjr .javaOptions ("-Xmx128M" , "-Djenkins.security.FIPS140.COMPLIANCE=true" );
30- JenkinsStartupException jse = assertThrows (JenkinsStartupException .class , () -> {
30+ IOException jse = assertThrows (IOException .class , () -> {
3131 rjr .then (r -> {
3232 Jenkins .get ().getPluginManager ().uberClassLoader .loadClass ("net.i2p.crypto.eddsa.EdDSAEngine" );
3333 fail ("should not get here!" );
You can’t perform that action at this time.
0 commit comments