From e4356a770176dc856d8ab03330911d48de8cc3b3 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 25 Mar 2024 19:14:35 -0400 Subject: [PATCH] Fixing a few broken tests from the change in LocalUser::create (#4569) --- crates/db_views/src/comment_view.rs | 1 + crates/db_views/src/post_view.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/crates/db_views/src/comment_view.rs b/crates/db_views/src/comment_view.rs index d80cc2e58..f8e91b501 100644 --- a/crates/db_views/src/comment_view.rs +++ b/crates/db_views/src/comment_view.rs @@ -1183,6 +1183,7 @@ mod tests { let inserted_banned_from_comm_local_user = LocalUser::create( pool, &LocalUserInsertForm::test_form(inserted_banned_from_comm_person.id), + vec![], ) .await?; diff --git a/crates/db_views/src/post_view.rs b/crates/db_views/src/post_view.rs index e1891b37a..b323437d5 100644 --- a/crates/db_views/src/post_view.rs +++ b/crates/db_views/src/post_view.rs @@ -1747,6 +1747,7 @@ mod tests { let inserted_banned_from_comm_local_user = LocalUser::create( pool, &LocalUserInsertForm::test_form(inserted_banned_from_comm_person.id), + vec![], ) .await?;