Remove deprecated use of spring.main.web-environment

Closes gh-13231
This commit is contained in:
Stephane Nicoll
2018-05-22 13:39:02 +02:00
parent a124379dd9
commit d5abd57a91
10 changed files with 18 additions and 18 deletions

View File

@@ -59,7 +59,7 @@ public class SampleAtmosphereApplicationTests {
ClientConfiguration.class, PropertyPlaceholderAutoConfiguration.class)
.properties("websocket.uri:ws://localhost:" + this.port
+ "/chat/websocket")
.run("--spring.main.web_environment=false");
.run("--spring.main.web-application-type=none");
long count = context.getBean(ClientConfiguration.class).latch.getCount();
AtomicReference<String> messagePayloadReference = context
.getBean(ClientConfiguration.class).messagePayload;