- let read_community = Community::read(&conn, inserted_community.id).unwrap();
- let updated_community =
- Community::update(&conn, inserted_community.id, &new_community).unwrap();
- let ignored_community = CommunityFollower::unfollow(&conn, &community_follower_form).unwrap();
- let left_community = CommunityModerator::leave(&conn, &community_moderator_form).unwrap();
- let unban = CommunityPersonBan::unban(&conn, &community_person_ban_form).unwrap();
- let num_deleted = Community::delete(&conn, inserted_community.id).unwrap();
- Person::delete(&conn, inserted_person.id).unwrap();
+ let read_community = Community::read(conn, inserted_community.id).unwrap();
+ let updated_community = Community::update(conn, inserted_community.id, &new_community).unwrap();
+ let ignored_community = CommunityFollower::unfollow(conn, &community_follower_form).unwrap();
+ let left_community = CommunityModerator::leave(conn, &community_moderator_form).unwrap();
+ let unban = CommunityPersonBan::unban(conn, &community_person_ban_form).unwrap();
+ let num_deleted = Community::delete(conn, inserted_community.id).unwrap();
+ Person::delete(conn, inserted_person.id).unwrap();