7 objects::tests::file_to_json_object,
9 activities::create_or_update::{comment::CreateOrUpdateComment, post::CreateOrUpdatePost},
10 tests::test_parse_lemmy_item,
13 use serial_test::serial;
17 async fn test_parse_lemmy_create_or_update() {
18 test_parse_lemmy_item::<CreateOrUpdatePost>(
19 "assets/lemmy/activities/create_or_update/create_page.json",
21 test_parse_lemmy_item::<CreateOrUpdatePost>(
22 "assets/lemmy/activities/create_or_update/update_page.json",
24 test_parse_lemmy_item::<CreateOrUpdateComment>(
25 "assets/lemmy/activities/create_or_update/create_note.json",
31 async fn test_parse_pleroma_create_or_update() {
32 file_to_json_object::<CreateOrUpdateComment>("assets/pleroma/activities/create_note.json");