aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/test/java/com/juick/server
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-05 15:17:24 +0300
committerGravatar Vitaly Takmazov2018-10-05 15:17:24 +0300
commit44f7ac629c5a5cf359c82bb96a263fedcb547a5e (patch)
tree63abf3a5a8a4a5648558861f13e6be09ec82a54f /juick-server/src/test/java/com/juick/server
parentbcfd8e147387025db75d5ee15168405aad62730e (diff)
Write user uri to replies
Diffstat (limited to 'juick-server/src/test/java/com/juick/server')
-rw-r--r--juick-server/src/test/java/com/juick/server/tests/ServerTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-server/src/test/java/com/juick/server/tests/ServerTests.java b/juick-server/src/test/java/com/juick/server/tests/ServerTests.java
index 38845cd7..e3d7a380 100644
--- a/juick-server/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/juick-server/src/test/java/com/juick/server/tests/ServerTests.java
@@ -1323,8 +1323,8 @@ public class ServerTests {
jsonMapper.setSerializationInclusion(JsonInclude.Include.NON_DEFAULT);
String jsonUser = jsonMapper.writeValueAsString(yyy);
Map<String, Object> user = JsonPath.read(jsonUser, "$");
- // only uid and name
- assertThat(user.keySet().size(), is(2));
+ // only uid, name and uri
+ assertThat(user.keySet().size(), is(3));
JAXBContext context = JAXBContext
.newInstance(User.class);