From: Dessalines Date: Sun, 8 Dec 2019 20:56:10 +0000 (-0800) Subject: Fixing unit test. X-Git-Url: http://these/git/readmes/%24%7B%60data:application/%7B%60%24%7BghostArchiveUrl%7D/%24%7BgetStaticDir%28%29%7D/js/%7Bs.link%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();