From: Dessalines Date: Sun, 8 Dec 2019 20:56:10 +0000 (-0800) Subject: Fixing unit test. X-Git-Url: http://these/git/%22https:/image.com/%7Burl%7D?a=commitdiff_plain;h=a128258fe0b888084d7197adb3c4b2c205bb62a3;p=lemmy.git Fixing unit test. --- diff --git a/server/src/db/comment_view.rs b/server/src/db/comment_view.rs index 09b864b3..dd53ddca 100644 --- a/server/src/db/comment_view.rs +++ b/server/src/db/comment_view.rs @@ -523,7 +523,7 @@ mod tests { .unwrap(); let read_comment_views_with_user = CommentQueryBuilder::create(&conn) .for_post_id(inserted_post.id) - .for_creator_id(inserted_user.id) + .my_user_id(inserted_user.id) .list() .unwrap();