Fix clippy

cleanup_reporting_api
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 =
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
.comment_report
.resolved = true;

View File

@ -404,7 +404,7 @@ mod tests {
let read_jessica_report_view_after_resolve =
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
.post_report
.resolved = true;