- let read_post = Post::read(&conn, inserted_post.id).unwrap();
- let updated_post = Post::update(&conn, inserted_post.id, &new_post).unwrap();
- let like_removed = PostLike::remove(&conn, inserted_person.id, inserted_post.id).unwrap();
- let saved_removed = PostSaved::unsave(&conn, &post_saved_form).unwrap();
- let read_removed = PostRead::mark_as_unread(&conn, &post_read_form).unwrap();
- let num_deleted = Post::delete(&conn, inserted_post.id).unwrap();
- Community::delete(&conn, inserted_community.id).unwrap();
- Person::delete(&conn, inserted_person.id).unwrap();
+ let read_post = Post::read(conn, inserted_post.id).unwrap();
+ let updated_post = Post::update(conn, inserted_post.id, &new_post).unwrap();
+ let like_removed = PostLike::remove(conn, inserted_person.id, inserted_post.id).unwrap();
+ let saved_removed = PostSaved::unsave(conn, &post_saved_form).unwrap();
+ let read_removed = PostRead::mark_as_unread(conn, &post_read_form).unwrap();
+ let num_deleted = Post::delete(conn, inserted_post.id).unwrap();
+ Community::delete(conn, inserted_community.id).unwrap();
+ Person::delete(conn, inserted_person.id).unwrap();