From eb1efdb0ff3aed093f96730758b2e3ce84b4098a Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Mon, 11 Jun 2018 17:11:53 -0400 Subject: [PATCH] No JSONP WebSocket transport any more https://build.spring.io/browse/INT-MASTER-1070/ See: https://jira.spring.io/browse/SPR-16914 --- .../integration/websocket/config/WebSocketParserTests.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-integration-websocket/src/test/java/org/springframework/integration/websocket/config/WebSocketParserTests.java b/spring-integration-websocket/src/test/java/org/springframework/integration/websocket/config/WebSocketParserTests.java index 88b5c1d980..82fc181663 100644 --- a/spring-integration-websocket/src/test/java/org/springframework/integration/websocket/config/WebSocketParserTests.java +++ b/spring-integration-websocket/src/test/java/org/springframework/integration/websocket/config/WebSocketParserTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2016 the original author or authors. + * Copyright 2014-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,6 +70,7 @@ import org.springframework.web.socket.sockjs.transport.TransportType; /** * @author Artem Bilan + * * @since 4.1 */ @ContextConfiguration @@ -182,7 +183,7 @@ public class WebSocketParserTests { Map transportHandlers = sockJsService.getTransportHandlers(); //If "handshake-handler" is provided, "transport-handlers" isn't allowed - assertEquals(8, transportHandlers.size()); + assertEquals(6, transportHandlers.size()); assertSame(this.handshakeHandler, TestUtils.getPropertyValue(transportHandlers.get(TransportType.WEBSOCKET), "handshakeHandler")); assertEquals(4000L, sockJsService.getDisconnectDelay());