diff --git a/pom.xml b/pom.xml index ea55de12..70f1a607 100644 --- a/pom.xml +++ b/pom.xml @@ -217,7 +217,7 @@ org/araymond/joal/JackOfAllTradesApplication.class org/araymond/joal/ApplicationReadyListener.class org/araymond/joal/ApplicationClosingListener.class - org/araymond/joal/web/config/ + org/araymond/joal/web/config/BeanConfig.class org/araymond/joal/web/messages/ org/araymond/joal/web/services/corelistener/ diff --git a/src/test/java/org/araymond/joal/web/config/security/WebSocketAuthenticationSecurityConfigTest.java b/src/test/java/org/araymond/joal/web/config/security/WebSocketAuthenticationSecurityConfigTest.java index 2b993723..96de1742 100644 --- a/src/test/java/org/araymond/joal/web/config/security/WebSocketAuthenticationSecurityConfigTest.java +++ b/src/test/java/org/araymond/joal/web/config/security/WebSocketAuthenticationSecurityConfigTest.java @@ -26,4 +26,12 @@ public void shouldRegisterInterceptors() { verify(registration, times(1)).interceptors(Matchers.any()); verify(webSocketAuthenticationSecurityConfig, times(1)).createChannelInterceptors(); } + + @Test + public void uselessTestButForCoverage() { + final AuthChannelInterceptorAdapter authAdaptor = mock(AuthChannelInterceptorAdapter.class); + final WebSocketAuthenticationSecurityConfig webSocketAuthenticationSecurityConfig = spy(new WebSocketAuthenticationSecurityConfig(authAdaptor)); + + webSocketAuthenticationSecurityConfig.registerStompEndpoints(null); + } }