aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-14 15:42:03 +0300
committerGravatar Vitaly Takmazov2023-01-14 15:42:03 +0300
commit23a41aebadbe13e8992856c6be84ce6d01de0175 (patch)
tree28ccc1446a8d4c1b9141454ea74703e65a9bff22 /src/test/java/com/juick
parent834fef2a7794d769144c7c087a8b1fa0a2a9bb21 (diff)
Configure test coverage reports
Diffstat (limited to 'src/test/java/com/juick')
-rw-r--r--src/test/java/com/juick/server/tests/ServerTests.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/java/com/juick/server/tests/ServerTests.java b/src/test/java/com/juick/server/tests/ServerTests.java
index a6c840bf..d6f0b6ae 100644
--- a/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/src/test/java/com/juick/server/tests/ServerTests.java
@@ -2715,6 +2715,7 @@ public class ServerTests {
mockMvc.perform(get("/mention?username=vt@juick.com")).andExpect(
redirectedUrl("https://juick.com/vt/")
);
+ mockMvc.perform(get("/mention?username=")).andExpect(status().isBadRequest());
}
@Test