diff options
author | Vitaly Takmazov | 2023-01-14 15:42:03 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-14 15:42:03 +0300 |
commit | 23a41aebadbe13e8992856c6be84ce6d01de0175 (patch) | |
tree | 28ccc1446a8d4c1b9141454ea74703e65a9bff22 /src/test/java/com | |
parent | 834fef2a7794d769144c7c087a8b1fa0a2a9bb21 (diff) |
Configure test coverage reports
Diffstat (limited to 'src/test/java/com')
-rw-r--r-- | src/test/java/com/juick/server/tests/ServerTests.java | 1 |
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 |