Fix clippy

This commit is contained in:
Dessalines 2021-09-17 14:03:45 -04:00
parent f5b0f77863
commit 0f191e16cf
2 changed files with 2 additions and 2 deletions

View file

@ -420,7 +420,7 @@ mod tests {
let read_jessica_report_view_after_resolve = let read_jessica_report_view_after_resolve =
CommentReportView::read(&conn, inserted_jessica_report.id).unwrap(); CommentReportView::read(&conn, inserted_jessica_report.id).unwrap();
let mut expected_jessica_report_view_after_resolve = expected_jessica_report_view.clone(); let mut expected_jessica_report_view_after_resolve = expected_jessica_report_view;
expected_jessica_report_view_after_resolve expected_jessica_report_view_after_resolve
.comment_report .comment_report
.resolved = true; .resolved = true;

View file

@ -404,7 +404,7 @@ mod tests {
let read_jessica_report_view_after_resolve = let read_jessica_report_view_after_resolve =
PostReportView::read(&conn, inserted_jessica_report.id).unwrap(); PostReportView::read(&conn, inserted_jessica_report.id).unwrap();
let mut expected_jessica_report_view_after_resolve = expected_jessica_report_view.clone(); let mut expected_jessica_report_view_after_resolve = expected_jessica_report_view;
expected_jessica_report_view_after_resolve expected_jessica_report_view_after_resolve
.post_report .post_report
.resolved = true; .resolved = true;