mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-19 12:20:08 +00:00
Fix tests.
This commit is contained in:
parent
5da27437a8
commit
0c3c6bd667
|
@ -871,7 +871,7 @@ mod tests {
|
||||||
assert_eq!(1, read_post_listing.len());
|
assert_eq!(1, read_post_listing.len());
|
||||||
|
|
||||||
assert_eq!(expected_post_listing_with_user, read_post_listing[0]);
|
assert_eq!(expected_post_listing_with_user, read_post_listing[0]);
|
||||||
expected_post_listing_with_user.my_vote = Some(0);
|
expected_post_listing_with_user.my_vote = None;
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
expected_post_listing_with_user,
|
expected_post_listing_with_user,
|
||||||
post_listing_single_with_person
|
post_listing_single_with_person
|
||||||
|
|
Loading…
Reference in a new issue