Skip to content

Commit 6ea07be

Browse files
authored
Merge pull request #36 from strangelookingnerd/patch-1
Fix references to RealJenkinsRule.JenkinsStartupException
2 parents fb29d67 + 4827c94 commit 6ea07be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/io/jenkins/plugins/eddsa_api/FIPSComplianceCheckTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
import static org.junit.Assert.assertThrows;
66
import static org.junit.Assert.fail;
77

8+
import java.io.IOException;
89
import jenkins.model.Jenkins;
910
import org.junit.Rule;
1011
import org.junit.Test;
1112
import org.jvnet.hudson.test.RealJenkinsRule;
12-
import org.jvnet.hudson.test.RealJenkinsRule.JenkinsStartupException;
1313

1414
public 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!");

0 commit comments

Comments
 (0)