aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/test/java/com/juick/server
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-05-27 23:15:12 +0300
committerGravatar Vitaly Takmazov2018-05-27 23:15:12 +0300
commit4319a2c2de6391f3e42993e96675a64baf9f0d78 (patch)
treedea5c73163e887afcff77c90baa8c9b6d9ee94c9 /juick-server/src/test/java/com/juick/server
parent4080ecbdb18bf67275317bdcfa5bcc52d3ac94e4 (diff)
ws: accept commands from authenticated users
Diffstat (limited to 'juick-server/src/test/java/com/juick/server')
-rw-r--r--juick-server/src/test/java/com/juick/server/tests/ServerTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/test/java/com/juick/server/tests/ServerTests.java b/juick-server/src/test/java/com/juick/server/tests/ServerTests.java
index 292020d6..13da55fd 100644
--- a/juick-server/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/juick-server/src/test/java/com/juick/server/tests/ServerTests.java
@@ -850,7 +850,7 @@ public class ServerTests {
.run("--spring.main.web_environment=false");
long count = context.getBean(WebsocketClientConfig.class).getLatch().getCount();
WebsocketClientHandler handler = context.getBean(WebsocketClientHandler.class);
- assertThat(handler.getLastMessage(), is("PONG"));
+ assertThat(handler.getLastMessage(), is("Authorization required"));
context.close();
Assert.assertThat(count, equalTo(0L));
mockMvc.perform(get("/ws/_all")).andExpect(status().isBadRequest());