diff options
Diffstat (limited to 'src/test/java/com')
-rw-r--r-- | src/test/java/com/juick/server/tests/ServerTests.java | 4 |
1 files changed, 4 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 47bb4d22..7046fdf8 100644 --- a/src/test/java/com/juick/server/tests/ServerTests.java +++ b/src/test/java/com/juick/server/tests/ServerTests.java @@ -235,6 +235,8 @@ public class ServerTests { private Resource sapeOutput; @Value("classpath:friendica_update.json") private Resource friendicaUpdate; + @Value("classpath:zot_like.json") + private Resource zotLike; @Value("classpath:message_group_reference.json") private Resource groupReferenceMessage; @Inject @@ -2291,6 +2293,8 @@ public class ServerTests { String flagString = IOUtils.toString(mastodonFlag.getInputStream(), StandardCharsets.UTF_8); Flag flag = (Flag) jsonMapper.readValue(flagString, Context.class); assertThat(flag.getObject().size(), is(3)); + String zotLikeString = IOUtils.toString(zotLike.getInputStream(), StandardCharsets.UTF_8); + Like zotLike = (Like) jsonMapper.readValue(zotLikeString, Context.class); } @Test |