Enable nohttp Gradle plugin
* Add `io.spring.nohttp` Gradle plugin into the build script and allow it only on CI server, since it is going to parse every file * Fix tests do not use `http` any more * Fix `test.html` in the `mail` modules tests to exclude a Namespace for OExchange XRD protocol * Fix some files for new line in the end of file according Checkstyle violations
This commit is contained in:
committed by
Gary Russell
parent
9fa9d1b3d0
commit
65c884cec7
@@ -196,7 +196,7 @@ public class WebSocketServerTests {
|
||||
public IntegrationWebSocketContainer clientWebSocketContainer() {
|
||||
ClientWebSocketContainer clientWebSocketContainer =
|
||||
new ClientWebSocketContainer(webSocketClient(), server().getWsBaseUrl() + "/ws");
|
||||
clientWebSocketContainer.setOrigin("http://www.foo.com/");
|
||||
clientWebSocketContainer.setOrigin("https://www.example.com/");
|
||||
return clientWebSocketContainer;
|
||||
}
|
||||
|
||||
@@ -271,7 +271,7 @@ public class WebSocketServerTests {
|
||||
return new ServerWebSocketContainer("/ws")
|
||||
.setHandshakeHandler(handshakeHandler())
|
||||
.setDecoratorFactories(testWebSocketHandlerDecoratorFactory())
|
||||
.setAllowedOrigins("http://www.foo.com/")
|
||||
.setAllowedOrigins("https://www.example.com/")
|
||||
.withSockJs();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user