- PersonMention::update(conn, inserted_mention.id, &person_mention_form).unwrap();
- Comment::delete(conn, inserted_comment.id).unwrap();
- Post::delete(conn, inserted_post.id).unwrap();
- Community::delete(conn, inserted_community.id).unwrap();
- Person::delete(conn, inserted_person.id).unwrap();
- Person::delete(conn, inserted_recipient.id).unwrap();
+ PersonMention::update(pool, inserted_mention.id, &person_mention_update_form)
+ .await
+ .unwrap();
+ Comment::delete(pool, inserted_comment.id).await.unwrap();
+ Post::delete(pool, inserted_post.id).await.unwrap();
+ Community::delete(pool, inserted_community.id)
+ .await
+ .unwrap();
+ Person::delete(pool, inserted_person.id).await.unwrap();
+ Person::delete(pool, inserted_recipient.id).await.unwrap();
+ Instance::delete(pool, inserted_instance.id).await.unwrap();