mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 05:36:53 +00:00
Wrap runtime exceptions during WebSocket auth into AuthenticationException
This commit is contained in:
1 parent
39d9fd0317
commit
391aa9c518
2 files changed
+11
-3
No files matched your search
+1
-1
@@ -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