mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-22 19:41:03 +00:00
Fix variable names
This commit is contained in:
parent
0cbc9438d4
commit
c1f42836d9
1 changed files with 3 additions and 3 deletions
|
@ -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)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue