aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick/server
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-05-28 19:57:18 +0300
committerGravatar Vitaly Takmazov2019-05-28 19:57:18 +0300
commit8f5441d43dcb9a7851ec3c79f1714eb47aa25a6f (patch)
treeaca76a672f1972895ed3dd879a4095bda3e91c86 /src/test/java/com/juick/server
parent51af554f75475019911246cf675fe661c5a04b4a (diff)
PROTOCOL CHANGES in mastodon 2.8(?)
Diffstat (limited to 'src/test/java/com/juick/server')
-rw-r--r--src/test/java/com/juick/server/tests/ServerTests.java2
1 files changed, 2 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 a140e9f0..5d13095b 100644
--- a/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/src/test/java/com/juick/server/tests/ServerTests.java
@@ -1708,6 +1708,8 @@ public class ServerTests {
String undoPleromaStr = IOUtils.toString(new ClassPathResource("undo_pleroma.json").getURI(), StandardCharsets.UTF_8);
Undo undoPleroma = jsonMapper.readValue(undoPleromaStr, Undo.class);
String undoPleromaFollower = (String)((Map)undoPleroma.getObject()).get("object");
+ String deletev3JsonStr = IOUtils.toString(new ClassPathResource("delete_v3.json").getURI(), StandardCharsets.UTF_8);
+ Delete deleteObject = jsonMapper.readValue(deletev3JsonStr, Delete.class);
}
@Test
public void activitySerialization() throws Exception {