From dd069de519fb53047a7b0a194ff051000e07bb5b Mon Sep 17 00:00:00 2001 From: "D.Loh" Date: Mon, 4 Jan 2021 07:26:43 -0800 Subject: [PATCH] add User_ missing field 'deleted' in tests (#1338) per rust-analyzer tips --- lemmy_db/src/user.rs | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.44.1