]> Untitled Git - lemmy.git/commitdiff
Fixing unit test.
authorDessalines <tyhou13@gmx.com>
Sun, 8 Dec 2019 20:56:10 +0000 (12:56 -0800)
committerDessalines <tyhou13@gmx.com>
Sun, 8 Dec 2019 20:56:10 +0000 (12:56 -0800)
server/src/db/comment_view.rs

index 09b864b3e876fd3fd0550f01b9f49c336ea5d73f..dd53ddcacc88d114808831b13c9313b649ed06a6 100644 (file)
@@ -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();