diff --git a/jetty-websocket/websocket-client/src/test/java/org/eclipse/jetty/websocket/client/WebSocketClientInitTest.java b/jetty-websocket/websocket-client/src/test/java/org/eclipse/jetty/websocket/client/WebSocketClientInitTest.java index 82b4c677417e..3f66da51f767 100644 --- a/jetty-websocket/websocket-client/src/test/java/org/eclipse/jetty/websocket/client/WebSocketClientInitTest.java +++ b/jetty-websocket/websocket-client/src/test/java/org/eclipse/jetty/websocket/client/WebSocketClientInitTest.java @@ -55,7 +55,6 @@ public void testInit_HttpClient_StartedOutside() throws Exception assertThat("HttpClient started", http.isStarted(), is(true)); HttpClient httpBean = ws.getBean(HttpClient.class); - assertThat("HttpClient should not be found in WebSocketClient", httpBean, nullValue()); assertThat("HttpClient bean is managed", ws.isManaged(httpBean), is(false)); assertThat("WebSocketClient should not be found in HttpClient", http.getBean(WebSocketClient.class), nullValue()); }