Reorganize and expand dependency declarations to fix mvn verify failures

This commit is contained in:
Chris Eager
2021-05-11 11:53:06 -05:00
committed by Chris Eager
parent f84736bd32
commit f98dd80941
6 changed files with 378 additions and 68 deletions

View File

@@ -18,7 +18,6 @@ import java.io.IOException;
import java.security.Principal;
import java.util.Optional;
import javax.security.auth.Subject;
import javax.servlet.ServletException;
import org.eclipse.jetty.websocket.api.Session;
import org.eclipse.jetty.websocket.api.UpgradeRequest;
import org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest;
@@ -53,7 +52,7 @@ public class WebSocketResourceProviderFactoryTest {
}
@Test
public void testValidAuthorization() throws AuthenticationException, ServletException {
public void testValidAuthorization() throws AuthenticationException {
ResourceConfig jerseyEnvironment = new DropwizardResourceConfig();
WebSocketEnvironment environment = mock(WebSocketEnvironment.class );
WebSocketAuthenticator authenticator = mock(WebSocketAuthenticator.class );
@@ -81,7 +80,7 @@ public class WebSocketResourceProviderFactoryTest {
}
@Test
public void testErrorAuthorization() throws AuthenticationException, ServletException, IOException {
public void testErrorAuthorization() throws AuthenticationException, IOException {
ResourceConfig jerseyEnvironment = new DropwizardResourceConfig();
WebSocketEnvironment environment = mock(WebSocketEnvironment.class );
WebSocketAuthenticator authenticator = mock(WebSocketAuthenticator.class );