mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-28 11:15:41 +00:00
Avoid printing stack traces from a passing test.
This commit is contained in:
1 parent
f4bbeb64c7
commit
16ce00df5e
1 file changed
-1
@@ -50,7 +50,6 @@ public class UseRecipesWithJenkinsRuleTest {
|
||||
wc.goTo("loginError");
|
||||
fail("Expecting a 401 error");
|
||||
} catch (FailingHttpStatusCodeException e) {
|
||||
e.printStackTrace();
|
||||
assertEquals(SC_UNAUTHORIZED,e.getStatusCode());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user