Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
thebino committed Oct 26, 2023
1 parent 32039a1 commit 0020f19
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions crates/database/src/sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,9 +436,7 @@ mod tests {
let date_taken = OffsetDateTime::now_utc();

// when
let media_item_result = db
.create_media_item(user_id, name, date_taken)
.await;
let media_item_result = db.create_media_item(user_id, name, date_taken).await;

// then
assert!(media_item_result.is_ok());
Expand Down Expand Up @@ -539,9 +537,7 @@ mod tests {
};

// when
let add_reference_result = db
.add_reference(user_id, media_id, &reference)
.await;
let add_reference_result = db.add_reference(user_id, media_id, &reference).await;

// then
assert!(add_reference_result.is_ok());
Expand Down

0 comments on commit 0020f19

Please sign in to comment.