We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff9c111 commit fda59bcCopy full SHA for fda59bc
servlet/security-basicauth/src/test/java/org/javaee7/servlet/security/basicauth/SecureServletTest.java
@@ -57,7 +57,7 @@ public void testWithIncorrectCredentials() throws Exception {
57
WebClient webClient = new WebClient();
58
webClient.setCredentialsProvider(incorrectCreds);
59
try {
60
- HtmlPage page = webClient.getPage(base + "/SecureServlet");
+ webClient.getPage(base + "/SecureServlet");
61
} catch(FailingHttpStatusCodeException e) {
62
assertNotNull(e);
63
assertEquals(401, e.getStatusCode());
0 commit comments