- #[actix_rt::test]
- async fn test_parse_lemmy_accept_follow() {
- test_parse_lemmy_item::<FollowCommunity>("assets/lemmy/activities/following/follow.json");
- test_parse_lemmy_item::<AcceptFollowCommunity>("assets/lemmy/activities/following/accept.json");
- test_parse_lemmy_item::<UndoFollowCommunity>(
- "assets/lemmy/activities/following/undo_follow.json",
- );
+ #[test]
+ fn test_parse_lemmy_accept_follow() {
+ test_parse_lemmy_item::<Follow>("assets/lemmy/activities/following/follow.json").unwrap();
+ test_parse_lemmy_item::<AcceptFollow>("assets/lemmy/activities/following/accept.json").unwrap();
+ test_parse_lemmy_item::<UndoFollow>("assets/lemmy/activities/following/undo_follow.json")
+ .unwrap();