aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-12-02 01:03:04 +0300
committerGravatar Vitaly Takmazov2024-12-02 01:03:04 +0300
commitefe8f27312b2cd7b363a5770462309dd9595453b (patch)
tree34da80873323c868638202c7785e1705c5ee8d83 /src/test
parent9738ed7a04e7c7bc1247c10ae28bf6e80a31bb1a (diff)
Fix tests
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/com/juick/server/tests/ServerTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/juick/server/tests/ServerTests.java b/src/test/java/com/juick/server/tests/ServerTests.java
index 5782475ea..e7d1545b3 100644
--- a/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/src/test/java/com/juick/server/tests/ServerTests.java
@@ -1528,8 +1528,8 @@ public class ServerTests {
jsonMapper.setSerializationInclusion(JsonInclude.Include.NON_DEFAULT);
String jsonUser = jsonMapper.writeValueAsString(yyy);
Map<String, Object> user = JsonPath.read(jsonUser, "$");
- // only uid, name, lang and uri
- assertThat(user.keySet().size(), is(4));
+ // only uid, name, lang
+ assertThat(user.keySet().size(), is(3));
JAXBContext context = JAXBContext.newInstance(User.class);
Marshaller m = context.createMarshaller();