Wrap runtime exceptions during WebSocket auth into AuthenticationException

This commit is contained in:
Chris Eager authored and Chris Eager committed 2023-03-29 10:08:55 -05:00
1 parent 39d9fd0317
commit 391aa9c518
2 files changed
+11 -3

No files matched your search

@@ -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),