pub mod block_user; pub mod undo_block_user; #[cfg(test)] mod tests { use crate::protocol::{ activities::block::{block_user::BlockUser, undo_block_user::UndoBlockUser}, tests::test_parse_lemmy_item, }; use lemmy_utils::error::LemmyResult; #[test] fn test_parse_lemmy_block() -> LemmyResult<()> { test_parse_lemmy_item::("assets/lemmy/activities/block/block_user.json")?; test_parse_lemmy_item::("assets/lemmy/activities/block/undo_block_user.json")?; Ok(()) } }