mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-22 00:18:06 +01:00
Wrap runtime exceptions during WebSocket auth into AuthenticationException
This commit is contained in:
@@ -114,7 +114,7 @@ class WebSocketConnectionTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
void testCredentials() {
|
||||
void testCredentials() throws Exception {
|
||||
WebSocketAccountAuthenticator webSocketAuthenticator = new WebSocketAccountAuthenticator(accountAuthenticator);
|
||||
AuthenticatedConnectListener connectListener = new AuthenticatedConnectListener(receiptSender, messagesManager,
|
||||
mock(PushNotificationManager.class), mock(ClientPresenceManager.class),
|
||||
|
||||
Reference in New Issue
Block a user