From efe8f27312b2cd7b363a5770462309dd9595453b Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 2 Dec 2024 01:03:04 +0300 Subject: Fix tests --- src/test/java/com/juick/server/tests/ServerTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/java/com/juick/server/tests/ServerTests.java') 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 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(); -- cgit v1.2.3