Fix broken WebSocketParserTests

This commit is contained in:
Artem Bilan
2019-03-26 14:48:30 -04:00
parent 934d718e22
commit e9501dd6c8
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
handshake-handler="handshakeHandler"
handshake-interceptors="handshakeInterceptor"
decorator-factories="decoratorFactory"
allowed-origins="http://foo.com">
allowed-origins="https://example.com">
<int-websocket:sockjs client-library-url="https://foo.sock.js"
disconnect-delay="4000"
heartbeat-time="30000"

View File

@@ -165,7 +165,7 @@ public class WebSocketParserTests {
assertSame(this.handshakeInterceptor, interceptors[0]);
assertEquals(100, TestUtils.getPropertyValue(this.serverWebSocketContainer, "sendTimeLimit"));
assertEquals(100000, TestUtils.getPropertyValue(this.serverWebSocketContainer, "sendBufferSizeLimit"));
assertArrayEquals(new String[] {"http://www.foo.com/"},
assertArrayEquals(new String[] {"https://example.com"},
TestUtils.getPropertyValue(this.serverWebSocketContainer, "origins", String[].class));
WebSocketHandlerDecoratorFactory[] decoratorFactories =