From fed3ae28cdbb0c1b9b9c23ad158e8edc2ee6f85f Mon Sep 17 00:00:00 2001 From: lseeger Date: Thu, 19 Dec 2024 19:07:34 +0100 Subject: [PATCH] Fixxed error in unittests --- crates/db_views/src/post_view.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/db_views/src/post_view.rs b/crates/db_views/src/post_view.rs index f77be2991..1abdcaa8a 100644 --- a/crates/db_views/src/post_view.rs +++ b/crates/db_views/src/post_view.rs @@ -1277,9 +1277,10 @@ mod tests { // This should only include the bot post, not the one you created assert_eq!(vec![POST_BY_BOT], names(&read_read_post_listing)); - cleanup(data, pool).await + Ok(()) } + #[test_context(Data)] #[tokio::test] #[serial] async fn creator_info(data: &mut Data) -> LemmyResult<()> {