mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-19 12:58:04 +01:00
Reorganize and expand dependency declarations to fix mvn verify failures
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user