]> Untitled Git - lemmy.git/blobdiff - crates/db_schema/src/aggregates/community_aggregates.rs
Dropping default on pending column.
[lemmy.git] / crates / db_schema / src / aggregates / community_aggregates.rs
index fc8cf0b063c40ebd936b4580102af10f937cd273..950e68d3738a121ada292b373c8128af40afd9a9 100644 (file)
@@ -66,7 +66,7 @@ mod tests {
     let first_person_follow = CommunityFollowerForm {
       community_id: inserted_community.id,
       person_id: inserted_person.id,
-      pending: Some(false),
+      pending: false,
     };
 
     CommunityFollower::follow(&conn, &first_person_follow).unwrap();
@@ -74,7 +74,7 @@ mod tests {
     let second_person_follow = CommunityFollowerForm {
       community_id: inserted_community.id,
       person_id: another_inserted_person.id,
-      pending: Some(false),
+      pending: false,
     };
 
     CommunityFollower::follow(&conn, &second_person_follow).unwrap();
@@ -82,7 +82,7 @@ mod tests {
     let another_community_follow = CommunityFollowerForm {
       community_id: another_inserted_community.id,
       person_id: inserted_person.id,
-      pending: Some(false),
+      pending: false,
     };
 
     CommunityFollower::follow(&conn, &another_community_follow).unwrap();