mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-09 09:52:10 +00:00
Fixing comment_view unit tests. (#3224)
This commit is contained in:
parent
8ed3f3530e
commit
5ff221a2e4
|
@ -600,7 +600,7 @@ mod tests {
|
|||
|
||||
let read_comment_views_no_person = CommentQuery::builder()
|
||||
.pool(pool)
|
||||
.sort(Some(CommentSortType::Hot))
|
||||
.sort(Some(CommentSortType::Old))
|
||||
.post_id(Some(data.inserted_post.id))
|
||||
.build()
|
||||
.list()
|
||||
|
@ -614,7 +614,7 @@ mod tests {
|
|||
|
||||
let read_comment_views_with_person = CommentQuery::builder()
|
||||
.pool(pool)
|
||||
.sort(Some(CommentSortType::Hot))
|
||||
.sort(Some(CommentSortType::Old))
|
||||
.post_id(Some(data.inserted_post.id))
|
||||
.local_user(Some(&data.inserted_local_user))
|
||||
.build()
|
||||
|
|
Loading…
Reference in a new issue