From: D.Loh Date: Mon, 4 Jan 2021 15:26:43 +0000 (-0800) Subject: add User_ missing field 'deleted' in tests (#1338) X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%7B%60%24%7BghostArchiveUrl%7D/%7BfrontRss%7D?a=commitdiff_plain;h=dd069de519fb53047a7b0a194ff051000e07bb5b;p=lemmy.git add User_ missing field 'deleted' in tests (#1338) per rust-analyzer tips --- diff --git a/lemmy_db/src/user.rs b/lemmy_db/src/user.rs index d8e833e6..1ec94f37 100644 --- a/lemmy_db/src/user.rs +++ b/lemmy_db/src/user.rs @@ -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();