From c1f42836d9d3c2e4b84202651f368d9f79826491 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 9 Jan 2022 05:16:56 +0900 Subject: [PATCH] Fix variable names --- plume-models/src/posts.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plume-models/src/posts.rs b/plume-models/src/posts.rs index b6d915bf..7f005d0f 100644 --- a/plume-models/src/posts.rs +++ b/plume-models/src/posts.rs @@ -1059,7 +1059,7 @@ mod tests { fn to_activity() { let conn = db(); conn.test_transaction::<_, Error, _>(|| { - let (posts, _blogs, _users) = fill_database(&conn); + let (posts, _users, _blogs) = fill_database(&conn); let post = &posts[0]; let act = post.to_activity(&conn)?; @@ -1092,7 +1092,7 @@ mod tests { fn create_activity() { let conn = db(); conn.test_transaction::<_, Error, _>(|| { - let (posts, _blogs, _users) = fill_database(&conn); + let (posts, _users, _blogs) = fill_database(&conn); let post = &posts[0]; let act = post.create_activity(&conn)?; @@ -1132,7 +1132,7 @@ mod tests { fn update_activity() { let conn = db(); conn.test_transaction::<_, Error, _>(|| { - let (posts, _blogs, _users) = fill_database(&conn); + let (posts, _users, _blogs) = fill_database(&conn); let post = &posts[0]; let act = post.update_activity(&conn)?;