aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-22 21:42:30 +0300
committerGravatar Vitaly Takmazov2022-12-22 21:50:34 +0300
commit3c5cfe677e013e0bcf10d168c08ac37a93482583 (patch)
treecce4fe3163acc3116a85df0abb8934100e16296e /src/test/java/com
parent33676cf1653f2053f57a9e0ecd5c8bda6c64d986 (diff)
User nick is case-insensitive
Diffstat (limited to 'src/test/java/com')
-rw-r--r--src/test/java/com/juick/server/tests/ServerTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/juick/server/tests/ServerTests.java b/src/test/java/com/juick/server/tests/ServerTests.java
index 6eae82f3..54cffbd4 100644
--- a/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/src/test/java/com/juick/server/tests/ServerTests.java
@@ -478,7 +478,7 @@ public class ServerTests {
Message msg2 = messagesService.getMessage(mid2).get();
assertEquals(1, msg2.getTags().size());
Exception exc = assertThrows(UsernameTakenException.class, () -> {
- userService.createUser("ugnich", "x");
+ userService.createUser("ugnicH", "x");
});
assertEquals("Username taken", exc.getMessage());
User hugnich = userService.createUser("hugnich", "x").orElseThrow(IllegalStateException::new);