File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/com/example/solidconnection/websocket Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3030import org .springframework .web .socket .sockjs .client .WebSocketTransport ;
3131
3232@ TestContainerSpringBootTest
33- @ DisplayName ("WebSocket/STOMP 통합 테스트" )
34- class WebSocketStompIntegrationTest {
33+ @ DisplayName ("WebSocket Handshake 테스트" )
34+ class WebSocketHandshakeTest {
3535
3636 @ LocalServerPort
3737 private int port ;
@@ -47,7 +47,7 @@ class WebSocketStompIntegrationTest {
4747
4848 @ BeforeEach
4949 void setUp () {
50- this .url = String .format ("ws ://localhost:%d/connect" , port );
50+ this .url = String .format ("http ://localhost:%d/connect" , port );
5151 List <Transport > transports = List .of (new WebSocketTransport (new StandardWebSocketClient ()));
5252 this .stompClient = new WebSocketStompClient (new SockJsClient (transports ));
5353 this .stompClient .setMessageConverter (new MappingJackson2MessageConverter ());
You can’t perform that action at this time.
0 commit comments