aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/test/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-08-27 12:20:16 +0300
committerGravatar Vitaly Takmazov2018-08-27 12:20:16 +0300
commitdfe75bb13736cb477cae97a5d336f6601a11113d (patch)
treed9008f1fc0de2d617c80d18a458a30289e09c1c9 /juick-server/src/test/java/com/juick
parent926bdf95c75ac8f4abbc403b0a2c24327e405903 (diff)
/info/{uname} API
Diffstat (limited to 'juick-server/src/test/java/com/juick')
-rw-r--r--juick-server/src/test/java/com/juick/server/tests/ServerTests.java4
1 files changed, 4 insertions, 0 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 88cdd24c..95f459b4 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
@@ -1271,6 +1271,10 @@ public class ServerTests {
.andExpect(status().isNotFound());
mockMvc.perform(get("/messages?uname=isilmine").with(httpBasic(ugnichName, ugnichPassword)))
.andExpect(status().isNotFound());
+ mockMvc.perform(get("/info/isilmine").with(httpBasic(ugnichName, ugnichPassword)))
+ .andExpect(status().isNotFound());
+ mockMvc.perform(get("/info/ugnich").with(httpBasic(ugnichName, ugnichPassword)))
+ .andExpect(status().isOk());
}
@Test