]> Untitled Git - lemmy.git/commitdiff
add User_ missing field 'deleted' in tests (#1338)
authorD.Loh <lploh2016@gmail.com>
Mon, 4 Jan 2021 15:26:43 +0000 (07:26 -0800)
committerGitHub <noreply@github.com>
Mon, 4 Jan 2021 15:26:43 +0000 (10:26 -0500)
per rust-analyzer tips

lemmy_db/src/user.rs

index d8e833e6e5bdb2540e7d5d3777c821446edaa10e..1ec94f376d2029dc3e1e7dd340924efbfb5c19f6 100644 (file)
@@ -274,6 +274,7 @@ mod tests {
       private_key: None,
       public_key: None,
       last_refreshed_at: inserted_user.published,
+      deleted: false,
     };
 
     let read_user = User_::read(&conn, inserted_user.id).unwrap();