提交 e77aa43b 编写于 作者: J Jesse Glick

Strengthening test case slightly to verify that the security exception is the expected one.

上级 1449f452
......@@ -126,6 +126,7 @@ public class JnlpAccessWithSecuredHudsonTest extends HudsonTestCase {
fail("SECURITY-206: " + channel.call(new Attack(f.getAbsolutePath())));
} catch (SecurityException x) {
System.out.println("expected: " + x);
assertTrue(x.getMessage().contains("http://jenkins-ci.org/security-144"));
}
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册