]> Untitled Git - lemmy.git/blobdiff - crates/db_schema/src/aggregates/community_aggregates.rs
Fix #3501 - Fix aggregation counts for elements removed and deleted (#3543)
[lemmy.git] / crates / db_schema / src / aggregates / community_aggregates.rs
index 2c2eaa78157901ccfcc885daeb6a497ded576552..310178f145e0e6f4a692210a0d60af5bb1ce6b95 100644 (file)
@@ -167,7 +167,7 @@ mod tests {
       .unwrap();
     assert_eq!(2, after_follow_again.subscribers);
 
-    // Remove a parent comment (the comment count should also be 0)
+    // Remove a parent post (the comment count should also be 0)
     Post::delete(pool, inserted_post.id).await.unwrap();
     let after_parent_post_delete = CommunityAggregates::read(pool, inserted_community.id)
       .await