pub(crate) mod accept; pub mod follow; pub mod undo_follow; #[cfg(test)] mod tests { use crate::protocol::{ activities::following::{ accept::AcceptFollowCommunity, follow::FollowCommunity, undo_follow::UndoFollowCommunity, }, tests::test_parse_lemmy_item, }; use serial_test::serial; #[actix_rt::test] #[serial] async fn test_parse_lemmy_accept_follow() { test_parse_lemmy_item::("assets/lemmy/activities/following/follow.json"); test_parse_lemmy_item::("assets/lemmy/activities/following/accept.json"); test_parse_lemmy_item::( "assets/lemmy/activities/following/undo_follow.json", ); } }