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/%7B%24%7B%60data:application/%22%7Burl%7D/readmes/%24%7BgetStaticDir%28%29%7D/js/%7B?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();